PUN 2 and Camera Following

So I am struggling to wrap my head around having a Camera follow an Instantiated player. I instatiate my ball which is moved by force on rigidbody. I also in the same section instantiate my Camera. The camera has a smooth follow script attached and the PlayerAvatar in the public object of the smooth camera script. However for the life of me I cant get it to work. I even check IS_Mine. Im at a loss. What is the best way to follow a player with this scenario. My script connects and I can move an see both players. However the cameras wont follow the players.


  • There's a script called CameraWork in the PUN Tutorial that follows the player. Not sure if this is what you are looking for,