- Home /
Unity Matchmaking not working on different routers.
I have been having trouble getting the matchmaking working on my game, i created a test project that only has the network lobby imported on it. when i test it on my computer i can host and connect with two clients just fine, i also tested it by hosting on my computer, and connecting to another computer on the same router, and that worked. but when i host on my computer and try to have someone join that is on a different router it doesn't show the lobby in the list servers panel. i don't think this should happen since i am using the matchmaker, which connects to the relay server and not me.
Here are some screen shots of what i have set up. Player Prefab
Answer by jayslayer · Dec 08, 2016 at 06:47 AM
My friend was in EU, and i'm in NA so we were connecting to different relay servers.
void Start()
{
ChangeRegion ("US");
}
public void ChangeRegion(string Region){
switch (Region) {
case "US":
SetMatchHost("us1-mm.unet.unity3d.com", matchPort, true);
return;
case "EU":
SetMatchHost("eu1-mm.unet.unity3d.com", matchPort, true);
return;
case "AP":
SetMatchHost("ap1-mm.unet.unity3d.com", matchPort, true);
return;
}
}