in a multiplayer game both the client and the host see the host camera, but just the host can control it

so for the fist time in my life i am trying to do a multiplayer game and i an just a complete noob at it. i have been folowing a tutoria and everything worked fine till now. The problem is this: there is a camera with the network manager script atached to it, when you enter the game, you choose to host or join a server, when i host the game, everything works as intended, but when someone joins the game, they switch controls, so the host starts controling the cliet’s player and the client the host’s player. i have not the slightest clue on why is it doing this so if anyone knows what could cause it please tell me. thank you all.

I assume you are using network view, right?
Is your camera attached to your “player” model or are u using a main camera?
you should try to check the camera with

 if(networkView.isMine)
{
camera.enabled = true;
}

or something like this depending your code…

Here’s a good video tutorial: Multiplayer FPS in Unity 3d, Part 5: Spawning our character on the network - YouTube (ep.5) I think this one shows solutions you want also Multiplayer FPS in Unity 3d, Part 4: Setting up the networking! - YouTube (ep.4)