'Why do my client sees 2 hosts when joining a photon room?

When a player enters the room and there is already a player in the room, it instantiate 2 times the player that is already in the room, but for the host it only sees him and the new player.enter image description here

`public Transform[] spawnPoint;

private void Start()
{
    if (PhotonNetwork.IsConnectedAndReady)
    {
        Test(PhotonNetwork.LocalPlayer.ActorNumber);
    }
}

public void Test(int spawn)
{
    PhotonNetwork.Instantiate("Photon Vehicles/Cube", spawnPoint[0].position, Quaternion.identity);
}`


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source