Help with syncing parent

Options
I need helping with syncing the object to its parent. I first create it using PhotonNetwork.Instantiate and assign its parent using transform.SetParent. This works but when a new player join, for that player the object isn't parented and is just sitting in the middle. Anyone know how I can sync the object to its parent even for new player.

Answers

  • Jasper_w
    Options
    That is because you only parented it locally. You could use a RPC to make the SetParent function get called on all players. (AllBuffered should be fitting your case)