Known Issue "Player Counts" In PUN 1.9

TobiasTobias admin
I noticed that the PhotonNetwork values for countOfPlayersInRooms and countOfPlayers are incorrect. If you are relying on these values, you can fix them really quikc by copy&paste. The fixed code is:
    public static int countOfPlayersInRooms
    {
        get
        {
            return countOfPlayers;
        }
    }

and
    public static int countOfPlayers
    {
        get
        {
            return networkingPeer.mPeerCount + networkingPeer.mMasterCount;
        }
    }
Sign In or Register to comment.