Colocation with Networked Avatars
I'm using building blocks to test colocation and network avatars, The colocation part of the app works. But there is an issue with network avatars,
Issue: When the second device joins via colocation the player spawns at (0,0,0) with avatar, But after the camera rig adjust itself to the spatial anchor the player(camera rig) goes to the location but the avatar still remains at the initial position.
I have tried finding the "LocalPlayer" gameobject and repositioning it after some delay but it still remains at the same place.
I tried making the avatar children of the Camera rig but as the camerarig is not a networked object that doesn't work. After looking through documentation i found out about the ColocationoReadyCallback() and using that I aligned my avatar.