Multiplayer joystick overlap

I am actually using a Joystick on my multiplayer game. The joystick controls the character. When i start the game as Host all works fine. But when i start the game as a client, there is 2 joysticks overlaped (1 for me and the other one for the host).

Anyone Know how i should fix this ?

This might help :

using System.Collections;
using UnityEngine;
using UnityEngine.Networking;

public class SetupLocalPlayer : NetworkBehaviour
    // Start is called before the first frame update
    void Start()
        if (isLocalPlayer)
            GetComponent<DriveCanon>().enabled = true;


Please show me what is happening in that DriveCannon script. I’m sure that may be where the joystick is defined.

in multiplayer, you have to check if(!isLocalPlayer){
//Disable the control scripts and every thing that is only needed for the player},

you have to use only one joystick, and just assign that joystick to your localplayer, and you have to disable the controls in case of non-local player