Can’t create online match whith UNET Matchmaking

Updated on October 7, 2018 in Unity
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
3 on September 19, 2018

Hello everyone!

I try create online match, how classic UNET Matchmaking from Brackets.

On one router (wi-fi or mobile) all devices connects very nice and match plays good.

But if use two different routers, with different IP, client not see created match and not connect.

I am little beginner and not speak English good. Some days I trying find solution in internet.

I hope, it’s easy question for professionals, and somebody help…

  • Liked by
Reply
0 on September 22, 2018

You need to make sure that either 1. everyone is on the same wifi router or 2. see if the host has a public IP and port forwarding setup properly. If the host doesnt have public ip and port forwarding setup properly, you are not going to be able to connect to the host without being in the same wifi.

  • Liked by
Reply
Cancel
0 on September 22, 2018

How can I make IP public and port forwarding setup properly? It’s need some setup NetworkManager (maybe switch on some toggle, how “server bind to ip”) or it’s need inserts some code in C# script of NetworkManager?

I am long time make my first game, and now first time when can’t find solution in google. My game includes Unet matchmaking, but after this trouble I start learning Photon Networking. Testing lobby on Photon work online without problem. Rebuilding my game take many time and concentration, but give some experience. So question – what thinking professional developers – if use only ready network solution, Unet or Photon?

One more time – sorry for my English, and not clever questions…

  • Liked by
Reply
Cancel
0 on October 7, 2018

So, i’am learn Photon and now finished rebuild multiplayer in my game. It’s very simple and fast system. Now multiplayer works wonderful. Unet so hard for me, problem not solved…

  • Liked by
Reply
Cancel