Unity-Technologies / com.unity.netcode.gameobjects

Netcode for GameObjects is a high-level netcode SDK that provides networking capabilities to GameObject/MonoBehaviour workflows within Unity and sits on top of underlying transport layer.
MIT License
2.15k stars 435 forks source link

fix: hidden objects from newly promoted session owner still synchronize with newly joining clients #3051

Closed NoelStephensUnity closed 2 months ago

NoelStephensUnity commented 2 months ago

This PR resolves the issue where a NetworkObject hidden from a client that is later promoted to a session owner will still get synchronized with newly connecting clients. The authority/owner of the NetworkObject will synchronize the newly joined client once the client is finished with the initial session owner synchronization.

MTTB-391

Changelog

Testing and Documentation