The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our

Please check if you can find an answer in our extensive documentation on PUN.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

how to check how many clients are connected to photon server?

2017-06-25 16:29:02

hi all, im developing a unity game using photon server(self hosted) i want to view in the scene how many clients connected to the server.
thank you.


2017-07-02 13:43:40

Hi you, for each player connect to server you can add this player to array on server and if client request how many people, you can send event Count in this array.

2017-07-04 11:37:18


2017-07-04 11:38:01

There are a lot of counting of players in PhotonNetwork in room in game etc i hope it would be good for you :)

Back to top