We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f8fd06 commit 01aea75Copy full SHA for 01aea75
com.unity.netcode.gameobjects/Runtime/Core/NetworkManager.cs
@@ -1665,6 +1665,10 @@ internal void ShutdownInternal()
1665
// can unsubscribe from tick updates and such.
1666
NetworkTimeSystem?.Shutdown();
1667
NetworkTickSystem = null;
1668
+
1669
+ // In the event any exceptions occurred and objects are destroyed prior to being despawned,
1670
+ // clear out the NetworkObject scene migration synchronization table and removal list.
1671
+ NetworkObject.CleanNetworkObjectSynchronization();
1672
}
1673
1674
0 commit comments