Not able to create/join rooms inside the unity editor?
Hello!
So I'm trying to set up multiplayer using Photon 2 in my 2D game made in unity. I'm following Blackthornprod's tutorial (https://www.youtube.com/watchv=93SkbMpWCGo&ab_channel=Blackthornprod)
However, any time I try to create/join a room inside the unity editor it throws this error
CreateRoom failed. Client is on MasterServer (must be Master Server for matchmaking)but not ready for operations (State: PeerCreated). Wait for callback: OnJoinedLobby or OnConnectedToMaster. UnityEngine.Debug:LogError (object)
I've been trying to figure this out for hours now, and I can't figure out what to do. Cause when I build the game I can create/join rooms, but only in the editor does it not work.
Does anyone know why and how to fix this?
Answers
-
Maybe you use a different sequence of scenes in the build? The editor starts playing at the scene you opened...
The issue is that your client didn't connect, when that script attempts to join a room. Find out why ConnecUsingSettings is not called in the Editor.
0