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
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.
Fixed: Issue where a NetworkObject hidden from a client that is then promoted to be session owner was not being synchronized with newly joining clients.
Testing and Documentation
Includes integration test ExtendedNetworkShowAndHideTests.HiddenObjectPromotedSessionOwnerNewClientSynchronizes
No documentation changes or additions were necessary.
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 theNetworkObject
will synchronize the newly joined client once the client is finished with the initial session owner synchronization.MTTB-391
Changelog
NetworkObject
hidden from a client that is then promoted to be session owner was not being synchronized with newly joining clients.Testing and Documentation
ExtendedNetworkShowAndHideTests.HiddenObjectPromotedSessionOwnerNewClientSynchronizes