Hi every Body !
I have a problem with network in Unity.
I have mutil player game deverlope using Unity.
It’s work well if server and clients are same network (LAN).
But if server and clients in different network (Inter net) , Client can’t connect to server ,
How can I fix it ?
Thanks !
you must host a master server with connection tester and nat faciliator and update the ip and ports in the network config before starting server / searching for games.
that or everybody hosting a game must setup portforwards.
you can’t depend / rely on the UT nat facilitator to be available (its normally not out of my experience) and when it fails, then you basically can’t host any games anymore without portforwards on router and firewall settings to allow it
Thanks Dreamora !
I using default Master Server of Unity3D, I can Register and poll host from master server.But I can’t connect to a public host.
What solutions for Lobby game over Internet without port forwards setting?
I have play Crate mania Game of M2H Team ,It’s seem don’t need setting port forward ?
How it does ?
Thanks !
Thanks Dreamora !
I using default Master Server of Unity3D, I can Register and poll host from master server.But I can’t connect to a public host.
What solutions for Lobby game over Internet without port forwards setting?
I have play Crate mania Game of M2H Team ,It’s seem don’t need setting port forward ?
How it does ?
Thanks !
it will normally not work with the default one from UT cause its nat facilitator is often not reachable, as such you won’t go anywhere without hosting your own masterserver etc so the nat facilitator is reachable.
M2H Team does exactly that and any other game must do so too, the default one is not meant for any production work, its only to get a feel