com.unity.netcode.gameobjects
com.unity.netcode.gameobjects copied to clipboard
fix: Scene network objects are destroyed when cancelling client conne…
…ction
Those objects aren't spawned when cancelling the connection leading to destroying those objects from the scene when they should not.
Fixes: #2917 regression from 7ab9947
As described in the issue, when cancelling a client connection the network scene objects are destroyed. This fixes the issue, however it might not be the correct fix, I do not know the project's code really well!
Changelog
- Fixed: Scene network objects are not destroyed anymore when the client cancels the connection to a server.
Testing and Documentation
- No tests have been added.
- No documentation changes or additions were necessary.
Closed fixed in #2923 (thanks!)