[Solved]CountOfPlayers while in a room

Options
I have noticed that the count of players stop being updated while in a room. Is there a way to refresh it? I would like player to be able to know how many other players are online while they are waiting in a room.

Comments

  • vadim
    Options
    Count of players in currently joined room is just a length of PhotonNetwork.playerList
  • keos027
    Options
    It's not the amount of players in the room that I want to know. I want the amount of players currently playing the game.
  • vadim
    Options
    Client must be connected to the master server to get up-to-date application stats.
    No way to get it while client is in the room.
  • keos027
    Options
    I see. I suppose the reason is the same as why we can't get the list of rooms while in a room?
  • Kaiserludi
    Options
    Yes, it's the same reason.
  • keos027
    Options
    Ok. Thank you.