Any help with ConnectingToNameServer
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:
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(); }
0