PhotonNetwork.Instantiate(avatar, Vector3.zero, Quaternion.identity, 0); //Note: Vector and Quaternion are used to init the position and rotation of the avatar.