com.unity.netcode.gameobjects
com.unity.netcode.gameobjects copied to clipboard
[DA] IsSessionOwner not updating after automatic SessionOwner migration
Description
NetworkBehaviour.IsSessionOwner does not update to true on the remaining client after the original SessionOwner leaves in Distributed Authority mode.
Reproduce Steps
- Start a Distributed Authority session with 2 clients using Multiplayer Play Mode
- Verify
IsSessionOwneristrueon the SessionOwner client - Disconnect the SessionOwner client
- Check
IsSessionOwneron the remaining client
Actual Outcome
IsSessionOwner remains false on the remaining client after the original SessionOwner disconnects.
Expected Outcome
IsSessionOwner should become true on the remaining client, as session ownership should automatically migrate.
Environment
- Unity Version: 6000.2.6f2
- Netcode Version: 2.7.0
- Netcode Topology: Distributed Authority
- Multiplayer Play Mode Version: 1.6.2
Additional Context
- Works correctly in NGO v2.5.1
- Bug introduced in NGO 2.6.0, has not been fixed in NGO 2.7.0
Oh yeah, that's an issue. Fix is up now, will hopefully make it into the next release.