Search Issue Tracker
Fixed
Votes
1
Found in
Issue ID
717379
Regression
No
NetworkLobbyPlayer not removed when client disconnects
When a client disconnects from a server using the NetworkLobbyManager, the NetworkLobbyPlayer for that client is not removed from the lobby. The NetworkLobbyPlayer should be destroyed and their slot freed when the client disconnects.
Comments (3)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
alrightX3
May 27, 2018 08:38
So how do I permanently prevent a game room from destroying so that it always appears in the network Lobby List?
erlanter
Aug 04, 2015 20:20
A video in which the behavior is reproduced, in case it helps: https://www.youtube.com/watch?v=mXuoIbnCrN8
erlanter
Aug 04, 2015 18:36
The NetworkLobbyPlayer is destroyed when clients disconnect in the Lobby scene, but NOT when clients disconnect in the Play scene.
When the client disconnects...
* In the Lobby scene, NetworkLobbyPlayer IS removed.
* In the Play scene, NetworkLobbyPlayer IS NOT removed.
If the server returns to lobby with a leftover NetworkLobbyPlayer on client disconnect...
* Returning via StopHost, NetworkLobbyPlayer IS removed.
* Returning via ServerReturnToLobby, NetworkPlayer IS NOT removed.
Hope this helps.