While implementing Multiplayer into my game I’ve come across a problem. Originally each player was a camera with a canvas attached to it that allowed the player to do stuff but that did not work because of having multiple cameras active in a scene.
Now I’m attempting to have the players be the canvas attached to the camera and then externally attach it to the camera.
My problem is that the Host gets an overlaying canvas of both players while the joining client doesn’t get to see or control their own canvas.
I have a script that checks to see if !isLocalPlayer and then parents that canvas to another GameObject named Neutral while the other gets parented to the camera. Player 1 can still see both canvases while player 2 cant see their own canvas.