Hey Folks,
so after wrecking my brains and looking online in various forums to research the Unity online multi player I’m at witts end.
This is how I got so far:
The basis for the code I’mworking with is a tutorial I found on cgcookie.com
I can establish and connect to the server locally on my computer and to another computer located somewhere else via hamachi.
However I’m unable to connect without hamachi.
I’m using a UMTS Stick to connect to the internet ( I don’t have any other possibilities
). I tried running the masterserver and facilitator to have the computer ( which is located in a different country all together) act as the server and the port forwarding via the fire walls of the MasterServer Port 23466 to connect with the other machine. This did not work.
When trying to connect online I’ll get this error: Receiving NAT punchthrough attempt from target 1017813535661152305 failed
I tried to connect either via:
Network.Connect(hostData[i ]);
or:
var element = hostData[i];
Network.Connect(element.guid);
Both did not work.
When running the “ConnectGuiMasterServer” script I get a message shown in the windows stating: “Limited NAT punchtrough capabilities. Cannot connect all types of NAT servers. Running a server is ill advices as not everyone can connect.”
Do you have any idea what the issue might be ? On request I’m happy to send you the code I’m using from the tutorial.
Help would be deeply appreciated.
Dawnreaver