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.13k
stars
433
forks
source link
fix: in-scene parenting WorldPositionStays transform synchronization without NetworkTransform [MTT-7856] #2796
This resolves an issue discovered with in-scene placed NetworkObjects where complex nested parent-child hierarchies would not synchronize properly when parenting changed using WorldPositionStays set to true. This also resolves an issue where the initial synchronization was not ordering NetworkObjects with parents before children with complex nested parent-child hierarchies. This update assures the parents will always proceed the children in the initial synchronization serialized NetworkObject order.
Fixed: Issue where in-scene placed NetworkObjects with complex nested children NetworkObjects (more than one child in depth) would not synchronize properly if WorldPositionStays was set to true.
Testing and Documentation
Includes a modification to the InSceneParentChildHandler integration test helper component.
No documentation changes or additions were necessary.
This resolves an issue discovered with in-scene placed
NetworkObject
s where complex nested parent-child hierarchies would not synchronize properly when parenting changed usingWorldPositionStays
set to true. This also resolves an issue where the initial synchronization was not orderingNetworkObject
s with parents before children with complex nested parent-child hierarchies. This update assures the parents will always proceed the children in the initial synchronization serializedNetworkObject
order.MTT-7856
Changelog
NetworkObject
s with complex nested childrenNetworkObject
s (more than one child in depth) would not synchronize properly ifWorldPositionStays
was set to true.Testing and Documentation
InSceneParentChildHandler
integration test helper component.