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
Documentation

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

Join Us
on Discord

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

Read More on
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 could I check the player count of a certain session

Cullis_Wullis
2022-10-30 16:50:55

How would I do this?

Comments

Isaac_Augusto
2022-10-31 12:58:33

Hi,

If you're connected to a lobby and are looking at the session list received, you can use SessionInfo.PlayerCount . If you're connected to a session, you can use Runner.ActivePlayer to receive a IEnumerable with all the current active players.


Isaac Augusto

Photon Fusion Team

Back to top