I just followed a guide about Basic UNet Tut Here, Its spawning network car player which can be controlled by local player. I can make or join server through built-in Network Manager HUD which is provided by the unity along with Network Manager component. I am able to run and connect application on my LAN on different PCs but failed to connect it on other network. I don't know what are the reasons. Do I need to make or purchase a server for it or I am doing something wrong.
Asked
Active
Viewed 659 times
0
-
bro same problem with me did u get the solution??? if yes please help me too. – veeresh kumbar Sep 16 '17 at 06:34
-
https://forum.unity.com/threads/working-over-lan-now-how-do-i-connect-over-internet.180001/ – Muhammad Faizan Khan Sep 16 '17 at 06:41
-
with this can we connect to players on different network?? i mean over Internet and not just LAN. – veeresh kumbar Sep 16 '17 at 06:50
-
You should do NAT punchthrough but it is difficult. You can purchase Unity Network service for this – Muhammad Faizan Khan Sep 16 '17 at 06:52
-
Bro I am new to Unity Networking. Some help will be Appreciated. Please help me to do so – veeresh kumbar Sep 16 '17 at 06:57
-
read this https://forum.unity.com/threads/unet-and-nat-punchthrough-it-can-be-done.391845/ – Muhammad Faizan Khan Sep 16 '17 at 06:58
-
Let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/154578/discussion-between-veeresh-kumbar-and-mohammad-faizan-khan). – veeresh kumbar Sep 16 '17 at 07:39
1 Answers
0
If i'm not mistaken, Unity offers free hosting for online games (There are some constraints).
- You need to login to Unity control panel and activate it.
There is great tutorial/documentation about this there.
I don't remember the specifics but basically, in your control panel you're going to get an address that you can put in your Network Manager, then you should be available to connect to your game from another network.

Oscar Lundberg
- 433
- 4
- 14
-
There is ip address field. I put the IP but unable to connect – Muhammad Faizan Khan Jan 23 '17 at 11:51