LeaveRoom() exit Loby?
Options
1- Im Joined a Loby
2- Im Joinedrandomroom
3- I called LeaveRoom() function.
Result : exit room and exit loby.
what I have to do to get out of the room
I don't want to leave the lobby
2- Im Joinedrandomroom
3- I called LeaveRoom() function.
Result : exit room and exit loby.
what I have to do to get out of the room
I don't want to leave the lobby
0
Comments
-
Hi querwilly,
please make sure to have Auto-Join Lobby enabled in your PhotonServerSettings or in your code by usingPhotonNetwork.autoJoinLobby = true;
.
Note: a client can't be inside a lobby and a room at the same time. So whenever the client is joining a room, he is automatically leaving the lobby. On the other side whenever he leaves a room, the client is joining the lobby if auto-join is enabled.0