I'm a complete beginner and there aren't a lot of tutorials about this sort of thing, i've been trying to figure this out for a week. In start i put PhotonNetwork.ConnectUsingSettings (_gameVersion); which posts to log that i connected to masterserver. I press my UI button which calls this:
my debug.log "you're connected" is logged then i get this log immediately "OnStatusChanged: Disconnect current State: DisconnectingFromMasterserver" and a few seconds later i get these 2 "OnStatusChanged: TimeoutDisconnect current State: ConnectingToGameserver" "OnStatusChanged: Disconnect current State: Disconnecting"
If i change the Photon Control and PhotonServerSettings asset to my local ip then i don't have this disconnect issue. I'm super confused.
public void ConnectSolo () {
if (PhotonNetwork.connected) {
Debug.Log ("you're connected");
PhotonNetwork.CreateRoom (null, new RoomOptions () { MaxPlayers = MaxPlayersPerRoom }, null);
} else {
Debug.Log ("connect using version");
PhotonNetwork.ConnectUsingSettings (_gameVersion);
}
}
my debug.log "you're connected" is logged then i get this log immediately "OnStatusChanged: Disconnect current State: DisconnectingFromMasterserver" and a few seconds later i get these 2 "OnStatusChanged: TimeoutDisconnect current State: ConnectingToGameserver" "OnStatusChanged: Disconnect current State: Disconnecting"
If i change the Photon Control and PhotonServerSettings asset to my local ip then i don't have this disconnect issue. I'm super confused.