Skip to content

[DA] IsSessionOwner not updating after automatic SessionOwner migration #3815

@KadaXuanwu

Description

@KadaXuanwu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    regressionThe issue is a regression (something that was working in previous version)stat:importedStatus - Issue is tracked internally at Unitytype:bugBug Report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions