com.unity.netcode.gameobjects icon indicating copy to clipboard operation
com.unity.netcode.gameobjects copied to clipboard

[DA] IsSessionOwner not updating after automatic SessionOwner migration

Open KadaXuanwu opened this issue 4 months ago • 1 comments

Description

NetworkBehaviour.IsSessionOwner does not update to true on the remaining client after the original SessionOwner leaves in Distributed Authority mode.

Reproduce Steps

  1. Start a Distributed Authority session with 2 clients using Multiplayer Play Mode
  2. Verify IsSessionOwner is true on the SessionOwner client
  3. Disconnect the SessionOwner client
  4. Check IsSessionOwner on 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

KadaXuanwu avatar Dec 09 '25 23:12 KadaXuanwu

Oh yeah, that's an issue. Fix is up now, will hopefully make it into the next release.

EmandM avatar Dec 11 '25 20:12 EmandM