PhotonNetwork.PlayerList not updated on player left room

Options

Suddenly PhotonNetwork.PlayerList is not updated (reduced) when a player left a room, I get the playerLeftRoom callback, is this a network issue? I didn't say anything listed in the photon status page

Best Answer

  • Tobias
    Tobias admin
    Answer ✓
    Options

    If you set a PlayerTTL in the RoomOptions, a leaving player will become inactive but still is in the list of players. This makes sure the player can still rejoin and others know this player belongs into the room.

    The event and callback is fired in those cases to let others know.

Answers

  • Tobias
    Tobias admin
    Answer ✓
    Options

    If you set a PlayerTTL in the RoomOptions, a leaving player will become inactive but still is in the list of players. This makes sure the player can still rejoin and others know this player belongs into the room.

    The event and callback is fired in those cases to let others know.

  • Mandelduck
    Options

    @Tobias Thanks that explains it, confirmed PlayerTTL was set