How to get total nb of players (on the whole app) when in a room

Options
Hey Photon team!

I've been a very pleased user of Photon and I have a need for something that doesn't seem to be available. I can get the total number of players across all rooms when I'm connected to Master but it seems this doesn't work anymore when connected to a room.

Is there any way to have the count of total player (across all rooms, lobbies, etc) while in a room?

Thanks!
Jada

Comments

  • Tobias
    Options
    Hi Jada,
    The total number of players in a region is only known to the Master Server. From inside a room (on a Game Server) you can not access it or do matchmaking.
    This is by design to keep things lean(ish).

    If you absolutely needed it, you could connect another LoadBalancingClient instance and get the values. This increases the CCUs.

    What do you want to achieve?