Please help!!!

I have a problem: When I start my game (with host and client), I can see host player moving in client game but I can’t see client player moving in the host game. Does anybody know the solution?

All depends on what your using. You likely have not told the API to view the network objects.

For instance: Photon requires a network view to be attached. // Unet requires the same or if your using newer version: NetworkIdentity.

Basically if you do not sync the objects/scripts/animations over the network and tell the network that these are network objects and to “watch them - View”, you will only see it on the host client, not across the server.

1 Like

You’re not saying anything useful to help you get an answer.

What networking API are you using?
Where is your code? Post it using Code tags.
What have you tried already?
How are you handling movement of client players?
Are you moving them locally and syncing to the server?
Are you sending movement commands to the server and then syncing the moved player back to the client?

1 Like

I highly recommend viewing the following YouTube tutorial on synchronizing players over the network:

https://www.youtube.com/watch?v=-m28axeuRNs

And the follow up:

https://www.youtube.com/watch?v=MR8SULMRKKk

That should get multiple players synchronized between host and client.

1 Like

Thanks but I have already found the solution: Check the LOCAL PLAYER AUTORITY box in network identity script.
Thanks for the help!