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.16k
stars
435
forks
source link
fix: in-scene networkobject with networktransform synchronization when parented under gameobject [MTT-8402] #2895
Fixing issue where parenting synchronization was not properly handling the scenario where a NetworkObject is parented under a GameObject (with or without auto object parent sync enabled).
Fixed: Issue where an in-scene placed NetworkObject with NetworkTransform that is also parented under a GameObject would not properly synchronize when the parent GameObject had a world space position other than 0,0,0.
Testing and Documentation
Includes integration test (InScenePlacedNetworkObjectTests.ParentedInSceneObjectUnderGameObject).
No documentation changes or additions were necessary.
Fixing issue where parenting synchronization was not properly handling the scenario where a NetworkObject is parented under a GameObject (with or without auto object parent sync enabled).
MTT-8402
fix: #2888
Companion PR: #2898 (merged)
Changelog
NetworkObject
withNetworkTransform
that is also parented under aGameObject
would not properly synchronize when the parent GameObject had a world space position other than 0,0,0.Testing and Documentation
InScenePlacedNetworkObjectTests.ParentedInSceneObjectUnderGameObject
).