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.09k
stars
431
forks
source link
fix: Scene network objects are destroyed when cancelling client conne… #2918
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.
…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
Testing and Documentation