Showing results for 
Search instead for 
Did you mean: 

Meta Avatar Joint Transforms Are In Incorrect Position After Calling LoadUser() Again.

Level 5

I think I've found a bug in the meta avatars sdk version 17.2. After calling LoadUser() on an avatar entity that has already been loaded before(which may happen if you'd want to update an avatar's look), the transforms Joint Head, Joint LeftHandWrist and Joint RightHandWrist stop being in the correct positions and simply fix themselves at 0, 0, 0. Here are the steps to reproduce it:

  1. In a blank scene add a AvatarSdkManagerHorizon object and a empty gameobject with a SampleAvatarEntity component.
  2. Set the SampleAvatarEntity's BodyTracking input to be the AvatarSdkManagerHorizon's SampleInputManager.
  3. Add some code in the SampleAvatarEntity which will enable you to call LoadUser() in runtime.
  4. Ensure you have UseStandalonePlatform checked in your OculusPlatformSettings so that your own avatar loads.

  5. Connect your headset with Quest Link and run the scene to let your avatar load.

  6. In the hierachy see how the Joint Head is in the correct place.

  7. Now manually call LoadUser() and see how Joint Head is no longer in the correct place.