I’m having some issues with using custom avatars in the example scene “Body Tracking Multi”. When I use an avatar that I bought on the unity asset store, the joint rotations seems to be off. I’ve tried a few different characters and get this issue on a few of them.
Here’s a video of what the issue looks like: Zed_issue.mp4 - Google Drive
I have done all the steps that are outlined in the documentation. I’m guessing someone knows what happens here?
(ignore the missing shaders in the video)
The character is properly set up in the Avatar Configuration view in Unity. Here’s a picture of that: Skärmbild 2024-04-04 180249.png - Google Drive
Normal character animations work fine.
Can you share an avatar I could reproduce the issue with? (ideally a free one )
Our theory is that as long as it fits the “Humanoid” pipeline of Unity, it should work correctly, but maybe some adjustments need to be made and we have to update the doc.
I however had to add the neck bone manually in the avatar setup since that for some reason was missing. But there is a bone for the neck so if you just add that in the settings the avatar works with the zed setup.
All I did to this avatar was take one of the prefabs, add the Skeleton Handler script, set the animator controller to the EmptyIKAnimatorController and added it to the Avatar section of Zed Body Tracking Manager in the test scene, nothing else.
I’m sorry to rush you, but have you had time to look at this? We are closing in on a deadline and I need to make a decision if we can use the Zed camera at all or if we need to find another solution.
I tried a few things, and I could not find a quick fix. I suspected the bones’ orientations, but our sample avatars do not share a common avatar rigging, and they do work with the SDK animations. It could still be a lead, as the rigging of the character you sent is different from ours.
I think the issue is linked to how we handle the animation in the backend, not to a Unity configuration issue. That will necessitate more investigation on our side, sorry.
I will log it for further investigation. Thank you for the report.
@JPlou Oh ok, that’s very unfortunate. Strange that no one else has had this issue, since it seems to happen with quite a few of the avatars in the asset store?