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.
How to connect networkig player with internet
Asked Answered
bro same problem with me did u get the solution??? if yes please help me too. –
Hest
forum.unity.com/threads/… –
Avidin
with this can we connect to players on different network?? i mean over Internet and not just LAN. –
Hest
You should do NAT punchthrough but it is difficult. You can purchase Unity Network service for this –
Avidin
Bro I am new to Unity Networking. Some help will be Appreciated. Please help me to do so –
Hest
read this forum.unity.com/threads/… –
Avidin
Let us continue this discussion in chat. –
Hest
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.
There is ip address field. I put the IP but unable to connect –
Avidin
© 2022 - 2024 — McMap. All rights reserved.