Unfortunately, no one helps me. Maybe I can not explain my problem right away because English is not my language (now I’m using Google translator)
I’m starting with networking but I have a big problem. I can establish a connection between server and client but when I try to use the chat I get messages like: “Unhandled message 70 from IP: 50005”
I attach a package with the scene ready for testing! Can you take a look?
many thanks for your attention! Goodbye
ps: in local everything works! The problem is between remotes PC
591878–21061–$MasterServerTest.unitypackage (48 KB)
Phew REAL questions actually get answered here.
I think the amount of people here who ACTUALLY know enough to help, are in the very, very small minority.
Most people here seem to just want to gossip and discuss trolling (or become the cause of trolling) rather than actually helping solve problems.
Honestly, most people probably just plain don’t know how to help, or helping would require too much time (more than a few minutes).
I wish I could help, but as with everyone else… I don’t know a thing.
maybe you can still help me! I think the solution to my problem is here:
Reposting from another thread with a similar question.
I’ve successfully used the Default Master server Facilitator out of the box to negotiate an across WAN NAT punchthrough.
Register your game with the Unity Master Server, and initialize your server with useNat = true.
On the client, ping the master server for all of the games. When you want to connect… the only way I’ve succeeded was using Unity’s HostData structure, manually setting the useNat to be true, and then connecting via the GUID element of the HostData.
So…
Even though the server initializes with useNat = true, when you have the server you want to connect to you must use this:
pseudo-code
Code:
…
host.useNat = true;
Network.Connect(host.guid);
…
That is the only way I’ve gotten NAT punchthrough to succeed. Also note that when testing the NAT punchthrough, do NOT use the editor as a test client. You must build it to either a standalone or a webplayer build before it will successfully connect using the Host’s GUID.
If you try to from within the editor, there is a bug that says something like “Unhandled message 67, 70, 73 from XX.XX.XX.XX:XXXXX”, and if you retry the connection, the whole editor will crash!!
but unfortunately I can not understand the language well
ps: If I do the connecting test tha result is: LimitedNATPunchthroughSymmetric
ps2: Firewall are deactivated