A
A
Alexey Fobius2020-11-30 20:51:18
Unity
Alexey Fobius, 2020-11-30 20:51:18

How to check the multiplayer locale while being at a distance?

I have a test application in the unit, it implements multiplayer using Network (I didn’t take a steam bath for a long time and did the simplest).

So, when I check it on my local network (I just run it twice), it works as it should
. But when I run it separately with another person (not on the same local network, each at home), it refuses to work.

I understand everything very well, this is a local network, but we also try to run it through hamachi (after all, it emulates a local network), and even so it simply refuses to connect, while everyone can host their own server, which should not be (understood from experience, because if the connection is established and someone has already created the server, then the second one will not be able to host, only connect)

What could be the problem? Is there a way to fix this, or will I have to port it all over to Photon?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vasily Bannikov, 2020-11-30
@vabka

It's hard to check without code.
1. Somehow Hamachi does not work properly
2. The code does not work correctly due to large delays
3. The code does not work correctly due to being in several networks at once.
Try to check it in an honest locale

N
Nekit Medvedev, 2020-12-09
@NIKROTOS

Hamachi generally does not work quite often. You can check on other games, try other emulators, there may be a problem with the ports (closed), by the way, they can be closed both on the PC and on the modem.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question