- Home /
Another computer connecting to my multiplayer game has their character spawn at 100000 units and is consistently moved there
So i'm using Hamachi as a means to allow my friends connect to my 2D platformer game, however when i host the game and he attempts to join, what i see on my screen will briefly flash on his screen before all characters currently in the game disappear. What he then sees on his screen is just the level, however i checked in my game that his character was in fact in the game, but was at x 100000 on his characters transform, but that also doesn't explain why he cant see my characters when i join as a host client and opened another instance of the game as a client also.
We also tried it so that he hosts and i join his game, however in this case, the characters are not randomly moved to 100000 on the x transform but rather he can control all of the characters that i join as(with the console telling me i have no local authority over my character which it should as all the character prefabs are the same with local authority ticked on network identity), and i can only see the level in the background and not the characters moving.
I'm very confused as to why this is happening, i have a single start point for players to spawn at which is not at x 100000, and what is even more confusing is that connecting 2 clients together on my computer works perfectly fine when using the Hamachi IP.
If you require any screenshots or scripts or any more information i'd be happy to oblige but I wouldn't know what you'd need to see to fix this so sorry and thanks in advance.
Your answer
Follow this Question
Related Questions
Unity networking tutorial? 6 Answers
Network command is running on client? 1 Answer
Do i need to have 2 seperate apps communicating for server/client relationship? 2 Answers
UNet changing player prefabs int the network lobby sample. 0 Answers
Is Start() always after OnStaretLocalPlayer() and isLocalPlayer 0 Answers