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: scenemanager clean up ScenesLoaded after synch unloading of remaining scenes not used #2971
Fix for the NetworkManager.ScenesLoaded not being updated when PostSynchronizationSceneUnloading is set to true and there are scenes not used for a synchronization.
This also fixes the issue with the standards test failing when using 6000.0.11f1 (or higher) due to updates to NetworkRigidbody2D.
Changelog
Fixed: Issue where NetworkManager.ScenesLoaded was not being updated if PostSynchronizationSceneUnloading was set and any loaded scenes not used during synchronization were unloaded.
Fixed: Issue where Rigidbody2d under Unity 6000.0.11f1 has breaking changes where velocity is now linearVelocity and isKinematic is replaced by bodyType.
Testing and Documentation
Includes integration test update to NetworkSceneManagerSceneVerification.SceneVerifyBeforeLoadTest.
No documentation changes or additions were necessary.
Fix for the NetworkManager.ScenesLoaded not being updated when
PostSynchronizationSceneUnloading
is set to true and there are scenes not used for a synchronization.This also fixes the issue with the standards test failing when using 6000.0.11f1 (or higher) due to updates to NetworkRigidbody2D.
Changelog
NetworkManager.ScenesLoaded
was not being updated ifPostSynchronizationSceneUnloading
was set and any loaded scenes not used during synchronization were unloaded.Rigidbody2d
under Unity 6000.0.11f1 has breaking changes wherevelocity
is nowlinearVelocity
andisKinematic
is replaced bybodyType
.Testing and Documentation
NetworkSceneManagerSceneVerification.SceneVerifyBeforeLoadTest
.