Client not joined to lobby after client leaves room
Options
I constantly get this error: CreateRoom failed. Client is not on Master Server or not yet ready to call operations. Wait for callback: OnJoinedLobby or OnConnectedToMaster.
after client leaves room. I'm doing this check:
but it's not help. How can I have a guarantee of entrance to the lobby?
after client leaves room. I'm doing this check:
if (!PhotonNetwork.insideLobby)
{
PhotonNetwork.JoinLobby();
}
but it's not help. How can I have a guarantee of entrance to the lobby?
0
Comments
-
Hi @Max,
You are callingCreateRoom
too early.
You can callCreateRoom
only afterOnJoinedLobby
orOnConnectedToMaster
are called.How can I have a guarantee of entrance to the lobby?PhotonServerSettings already has "Auto Join Lobby" which does this when enabled.0 -
@JohnTube I get this error as well now and it didn't happen before it's when I'm in the lobby or create room section idling for a longer time. As well as now we having issues with people connecting to a match already running they flat out crash with no crash report but closed application(build or even unity editor closes completely to desktop) in a blink of an eye fast. Need help on how to prevent this from happening nothing has changed in code and I'm still using Realtime PUN+ not PUN20