Forum Discussion
olaysia
3 years agoExpert Protege
Meta Avatar Joint Transforms Are In Incorrect Position After Calling LoadUser() Again.
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:
- In a blank scene add a AvatarSdkManagerHorizon object and a empty gameobject with a SampleAvatarEntity component.
- Set the SampleAvatarEntity's BodyTracking input to be the AvatarSdkManagerHorizon's SampleInputManager.
- Add some code in the SampleAvatarEntity which will enable you to call LoadUser() in runtime.
Ensure you have UseStandalonePlatform checked in your OculusPlatformSettings so that your own avatar loads.
Connect your headset with Quest Link and run the scene to let your avatar load.
In the hierachy see how the Joint Head is in the correct place.
Now manually call LoadUser() and see how Joint Head is no longer in the correct place.
1 Reply
Replies have been turned off for this discussion
- GrahamG_SGHonored Guest
Also seeing this exact issue still in 20.1, but also caused by interacting with "Edit Avatar" of mirror in an app.
Quick Links
- Horizon Developer Support
- Quest User Forums
- Troubleshooting Forum for problems with a game or app
- Quest Support for problems with your device
Other Meta Support
Related Content
- 2 years ago