Skip to main content
1 of 2

Host & Client user input moving both Player prefabs at the same time

I have a player controller attached to the Player prefab - along with the NGO components

Network Object Client Network Transform Network Animator

In the Network Manager I have the Player prefab added so that the host & clients will spawn when joining.

The issue I have is that the user input from client & host is controlling both prefabs on screen at the same time.

On the player controller script I have the line if (!IsOwner) return; at the start of the Update() before any movement is called

The Player Prefab is setup as follows:

  • Player (Has the Network Object & Client Network Transform components)Parent Obj

  • Controller (Has the PlayerController script attached to it)

  • Model (Has the Owner Network Animator component with the Animator applied)

Any help much appreciated.

See the attached video for the issue

https://youtu.be/udOMW0Fbu14