Question by
lagidigu3ll · Sep 05, 2017 at 04:17 PM ·
networkingmultiplayerclient-servermatchmakingcomputers
Managed to set up Multiplayer Online on one Computer, but not on 2
Hi!
We managed to set up a server for our project. One client hosts a game. The game appears in the server list for the other computer, but connecting to it doesn't work. Everything works fine with multiple instances of the same build on the same computer.
We checked our firewall, everything is authorized. The problem is the StartClient() of our networkManager, but we cannot boil down as to how it works.
public void JoinRoom (MatchInfoSnapshot _match)
{
networkManager.matchMaker.JoinMatch(_match.networkId, "", "", "", 0, 0, OnMatchJoined);
}
public void OnMatchJoined(bool success, string extendedInfo, MatchInfo matchInfo)
{
if (success)
{
//CODE IS BEING ENTERED
Debug.Log ("JOINING: Adress: " + matchInfo.address + ", Port : " + matchInfo.port);
networkManager.StartClient ();
}
}
The IP Adresses and ports are the same.
We're really stuck on this problem, so any help would be greatly appreciated... :/
Thanks a lot in advance!
Comment