Search Issue Tracker

Fixed

Votes

1

Found in

Issue ID

717379

Regression

No

NetworkLobbyPlayer not removed when client disconnects

Networking

-

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)

  1. 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?

  2. 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

  3. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.