Hi, I tried to Join a Lobby in Photon, but it always gives me the error:
Operation JoinLobby (229) not called because client is not connected or not ready yet, client state: PeerCreated
PhotonNetwork.JoinLobby() Gets called in OnConnectedToMaster()
Thanksfor your help
You first have to connect. This is a short workflow, which needs to complete, so we added a callback, telling you when thatās done. Then, you could join a lobby (but donāt have to).
The Basics Tutorial is a good first read. Code-along and you will not stumble over those basics anymore.
Yes, I thought OnConnectedtoMaster gets called when youāre connected
I just checked in PUN 2.27 and JoinLobby can be called in OnConnectedToMaster.
Do you run an older version?
No I run PUN 2.27
Do you have other PhotonNetwork calls in OnConnectedToMaster?
What exactly does the log say (it should have some hint what state your client is in)ā¦
Hey Broļ¼today i met the same problem,finally i find in Resource if you set photon start in offline would cause this problem.may be you fixed hhh
Thank you so much!! That worked for me
Thanks bro