I’m currently working on a project using relay, and I was wondering if there is a way to check the total number of connected users across all relay instances together. I know that each Relay instance has its own connection count, but I’m looking for a method to get the total amount of users across all instances.
If there is no way to do this within Unity, what would be other good practices to do this by?
I appreciate any help on this topic!
There is no such feature. You would have to program this in a way that the host sends a +1 or -1 to a custom server you set up every time a client connects or disconnects to get the total player count.
However the number will be off if the host crashes.