The number of players in the room

Options

hi,
Number of players is not correct when selecting a room.


for example: 10/16 Player
But when you enter the game there are a few people.

Photon Unity Networking v1.82

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @iosdeveloper,

    Please update to 1.83 as 1.82 has a disconnection issue.

    Once joined to a room, you can see the full list of players using: PhotonNetwork.playerList.
  • iosdeveloper
    Options
    Hi, @JohnTube ,
    My problem is the number of players shown before entering the room.

    RoomInfo[] availableRooms = new RoomInfo[0];


    GUILayout.Label (availableRooms [i].playerCount.ToString () + " / " + availableRooms[i].maxPlayers.ToString (), GUILayout.Width (70), GUILayout.Height (20));
  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Please provide an example with screenshots preferably where you show room name (GameId) with player count before and after you enter it.
    Do you use expected users feature?
  • marswong
    Options
    Bump