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 (up-port of 2895) [MTT-8402] #2898
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.
An upwards port to v2.0.x for the #2895 fix.
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 [GH-2888] Network Tran
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
).