im having a problem i hope anyone can help

i followed a tutorial for days please take a look :

the problem i'm having is whenever i connect to the game i get this error

JoinRandomRoom failed. Client is on NameServer (must be for matchmaking) and ready. Wait for callback: OnJoinedLobby or OnConnectedToMasterMaster Server .
Photon.Pun.PhotonNetwork:JoinRandomRoom(Hashtable, Byte, MatchmakingMode, TypedLobby, String, String[]) (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:1592)
Photon.Pun.PhotonNetwork:JoinRandomRoom() (at Assets/Photon/PhotonUnityNetworking/Code/PhotonNetwork.cs:1526)
NetworkManager:JoinTeam(Int32) (at Assets/NetworkManager.cs:55)
UnityEngine.EventSystems.EventSystem:Update() (at C:/Program Files/Unity/Hub/Editor/2019.3.15f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.ugui/Runtime/EventSystem/EventSystem.cs:377)

though i followed exactly what the dude did i even downloaded the whole projects but with more errors. however i want to fix the error above i hope someone can help

thank u <3


  • You should check your settings and how you connect. When do you actually invoke connect or connect with settings? Like your error suggests I would adhere to the following: Wait for callback: OnJoinedLobby or OnConnectedToMasterMaster Server .