Я пытаюсь сделать так чтобы игрок либо попадал в рандомную комнату либо создавал ее
public void StartGame()
{
if (isConnected) JoinRoom();
System.Threading.Thread.Sleep(2000);
if (!IsInGame) CreateRoom();
}
Но я получаю ошибку:
Region Pinging Result: usw[5.188.110.5:5055]: 181ms
Previous summary: usw;187;asia,au,cae,eu,in,jp,kr,ru,rue,sa,us,usw,za
UnityEngine.Debug:Log(Object)
Photon.Pun.PhotonNetwork:OnRegionsPinged(RegionHandler) (at Assets/packages/Photon/PhotonUnityNetworking/Code/PhotonNetworkPart.cs:2456)
Photon.Realtime.RegionHandler:OnPreferredRegionPinged(Region) (at Assets/packages/Photon/PhotonRealtime/Code/RegionHandler.cs:253)
Photon.Realtime.RegionPinger:RegionPingThreaded() (at Assets/packages/Photon/PhotonRealtime/Code/RegionHandler.cs:513)
Photon.Realtime.RegionPinger:RegionPingPooled(Object) (at Assets/packages/Photon/PhotonRealtime/Code/RegionHandler.cs:447)