Is there any common reason for
void OnNetworkConnect (bool success, string message)
to return null? It passes success as true but I am yet to get any connection between machines.
This has really been holding me up for a while, as i'm struggling to to get this to work. Any help would be appreciated.
I am trying to connect this way:
TNManager.Connect (GameObject.Find ("IpAddress").GetComponent<TextMesh> ().text,5127);
And I create a server this way:
TNServerInstance.Start(5127, Random.Range(10000, 40000));
TNServerInstance.discoveryPort=5129;
TNManager.LoadLevel ("default");
I also start udp on startup:
TNManager.StartUDP(Random.Range(10000, 50000));