Unity3D System Design Architecture
framework
unity
game-development
unity-editor
unity3d
unity-scripts
unity-asset
game-framework
unity-3d
u3d
unity3d-plugin
game-frameworks
frameworks
unity2d
game-dev
unity3d-framework
unity-framework
uiframework
qframework
indiegamedev
-
Updated
Apr 8, 2022 - C#
Describe the bug
If you spawn a Player Object explicitly like this:
newPlayer.SpawnAsPlayerObject(clientId, null, true);It will clean up if the player disconnects. But if the server force-ends the client connection via
DisconnectClient, the object is left hanging around.![image](https://user-images.githubusercontent.com/27827009/117048953-90afee00-ace1-11eb-9217-e94ba2331e41.pn