HELP - Stalling connection to Cloud

Options
Hi
Why is my Unity stalling here - i can Stop play and start againg - but it ends here !
Attached Pic to show Unity and my Script code is here !

[code2=csharp]using UnityEngine;
using System.Collections;

public class NetworkManager : Photon.MonoBehaviour {

public Camera standbyCamera;
SpawnSpot[] spawnSpots;

// Use this for initialization
void Start () {
Debug.Log ("Start");
spawnSpots = GameObject.FindObjectsOfType <SpawnSpot>();
Connect();

}
void Connect () {
Debug.Log ("Connect");
PhotonNetwork.ConnectUsingSettings("MyGame");

}

void OnGUI () {
GUILayout.Label(PhotonNetwork.connectionStateDetailed.ToString ());
}

void OnJoindLobby () {
PhotonNetwork.autoJoinLobby=true;
Debug.Log ("OnJoindLobby");
PhotonNetwork.JoinRandomRoom ();

}

void OnPhotonRandomJoinFailed () {
Debug.Log ("OnPhotonRandomJoinFailed");
PhotonNetwork.CreateRoom (null);

}

void OnJoinedRoom () {
Debug.Log ("OnJoinedRoom");
SpawnMyPlayer();
}

void SpawnMyPlayer () {
Debug.Log ("SpawnMyPlayer");
//PhotonNetwork.Instantiate ("MyPlayer",Vector3.zero,Quaternion.identity,0);
SpawnSpot mySpawnSpot = spawnSpots [ Random.Range (0, spawnSpots.Length) ];
PhotonNetwork.Instantiate ("MyPlayer",mySpawnSpot.transform.position,mySpawnSpot.transform.rotation,0);
standbyCamera.enabled = false;
}


// Update is called once per frame
void Update () {

}
}[/code2]

Comments