Hi guys i have a problem:
when some of my friend make a room(so intialize the server), i can’t connect on it.
But with other friend ,works so i can connect…
So what’s the problem ,why unity connection works only in some case??
TO INTIALIZE A SERVER I USE THIS:
Network.InitializeServer(4,25000,!Network.HavePublicAddress());
AND TO CONNECT
foreach(HostData match in MasterServer.PollHostList()){
GUILayout.BeginHorizontal(lobbyroom);
if(GUILayout.Button(new GUIContent(match.gameName))){
Network.Connect(match);
}
}
GUILayout.EndHorizontal();
Wher is the problem??? unity connection work only in some case???How i can solve the problem???
Thanks anyway