Any help with ConnectingToNameServer

edited August 2016 in DotNet
I seem to be having issues with connecting in my game. Every time I try to get it to connect, I get stuck on "ConnectingToNameServer". I have tried to mess around with the settings and nothing seems to be working.

Code:
public void PlayPressed() { //Function for play being pressed
        //Put some code here that brings us along into the game
        Debug.Log("Playing...");
        mainCanvas.enabled = false;
        connectingCanvas.enabled = true;
        Connect();
}

void Connect() {
        Debug.Log("Connecting");
        PhotonNetwork.ConnectUsingSettings(version); //bring us to the lobby
        connectionText.text = PhotonNetwork.connectionStateDetailed.ToString();
}
Sign In or Register to comment.