You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: In-Scene Placed Object Parenting and Serialization Order (back port) (Unity-Technologies#3388)
This is the back port of Unity-Technologies#3387 that resolves some issues with in-scene
placed NetworkObjects in parent-child hierarchy and the synchronization
of late joining clients when the hierarchy has changed from that of its
default hierarchy defined within the scene.
[MTT-11883](https://jira.unity3d.com/browse/MTT-11883)
## Changelog
- Fixed: Issue where in-scene placed `NetworkObjects` could fail to
synchronize its transform properly (especially without a
`NetworkTransform`) if their parenting changes from the default when the
scene is loaded and if the same scene remains loaded between network
sessions while the parenting is completely different from the original
hierarchy.
- Changed: The scene loading event serialization order for in-scene
placed `NetworkObject`s to be based on their parent-child hierarchy.
## Testing and Documentation
- Includes no additional tests (_requires manual testing due to scene
loading constraints_).
- No documentation changes or additions were necessary.
Copy file name to clipboardExpand all lines: com.unity.netcode.gameobjects/CHANGELOG.md
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,13 +16,15 @@ Additional documentation and release notes are available at [Multiplayer Documen
16
16
17
17
### Fixed
18
18
19
+
- Fixed issue where in-scene placed `NetworkObjects` could fail to synchronize its transform properly (especially without a `NetworkTransform`) if their parenting changes from the default when the scene is loaded and if the same scene remains loaded between network sessions while the parenting is completely different from the original hierarchy. (#3388)
19
20
- Fixed an issue in `UnityTransport` where the transport would accept sends on invalid connections, leading to a useless memory allocation and confusing error message. (#3383)
20
21
- Fixed issue where `NetworkAnimator` would log an error if there was no destination transition information. (#3384)
21
22
- Fixed initial `NetworkTransform` spawn, ensure it uses world space. (#3361)
22
23
- Fixed issue where `AnticipatedNetworkVariable` previous value returned by `AnticipatedNetworkVariable.OnAuthoritativeValueChanged` is updated correctly on the non-authoritative side. (#3322)
23
24
24
25
### Changed
25
26
27
+
- Changed the scene loading event serialization order for in-scene placed `NetworkObject`s to be based on their parent-child hierarchy. (#3388)
0 commit comments