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.13k stars 433 forks source link

fix: in-scene parenting WorldPositionStays transform synchronization without NetworkTransform [MTT-7856] #2796

Closed NoelStephensUnity closed 8 months ago

NoelStephensUnity commented 9 months ago

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.

MTT-7856

Changelog

Testing and Documentation