NetworkVariable values are silently lost when ownership is transferred immediately after a write in Distributed Authority.
Steps to reproduce:
1. Create a NetworkBehaviour with a NetworkVariable<int> (writePerm: Owner, readPerm: Everyone) in a Distributed Authority session.
2. On the current owner, call: _value.Value++; NetworkObject.ChangeOwnership(remoteClientId); in the same Update() frame.
3. Observe the new owner's view of the NetworkVariable after OnOwnershipChanged fires.
Expected result:
New owner receives value N+1 (the incremented value) after the ownership transfer.
Actual result:
New owner receives value N (pre-increment). The dirty delta from the previous owner is never delivered. OnValueChanged is not fired on the new owner for this increment. No error or warning is produced.
Environment (Dev / Prod etc):
Production
Additional Information: