Hello everyone,
We are having a strange issue. Our game have been using PUN for about 3 years and everything was working fine until last Friday. The issue, is the players are unable to join the room. We have a player vs player (one to one) game model so there can only be 2 players in the room. One player who challenges the other player creates a room with other player name like following:
PhotonNetwork.CreateRoom(opponent.name + "*" + player.name, true, true, 2, properties, null);
The other player is constantly searching if anyone have created a room with its name and once it finds the room it joins the room and the match begins. But recently something went wrong. The player who tries to join the already created room was unable to join the room. After exhaustive debugging and out logs we came to know that by the time the other player, when tries to join the already created room, there are already 2 players in the room and hence can not join. But on the other hand the player who created the room is constantly logging output that there is only one player in the room.
The thing here is to note that we never had any issue like this before for 3 years with the same code and we haven't changed any code. Also we had some AI bots running and all of a sudden they were not able to join the game because they could not join the room.
Can you please let me know what might have gone wrong due to which the player who creates the rooms says there is only one player in the room and the other player who is to join cant join because it sees that there are already 2 player in the room?
Thanks,
Abe
We are having a strange issue. Our game have been using PUN for about 3 years and everything was working fine until last Friday. The issue, is the players are unable to join the room. We have a player vs player (one to one) game model so there can only be 2 players in the room. One player who challenges the other player creates a room with other player name like following:
PhotonNetwork.CreateRoom(opponent.name + "*" + player.name, true, true, 2, properties, null);
The other player is constantly searching if anyone have created a room with its name and once it finds the room it joins the room and the match begins. But recently something went wrong. The player who tries to join the already created room was unable to join the room. After exhaustive debugging and out logs we came to know that by the time the other player, when tries to join the already created room, there are already 2 players in the room and hence can not join. But on the other hand the player who created the room is constantly logging output that there is only one player in the room.
The thing here is to note that we never had any issue like this before for 3 years with the same code and we haven't changed any code. Also we had some AI bots running and all of a sudden they were not able to join the game because they could not join the room.
Can you please let me know what might have gone wrong due to which the player who creates the rooms says there is only one player in the room and the other player who is to join cant join because it sees that there are already 2 player in the room?
Thanks,
Abe