USDZ Animations work in QuickLook but not RealityKit

Hello,

I have working animations in a usdz file that load and animate in quicklook and when you press play inside the Xcode viewer, but I cannot add them to a RealityKit scene with the animations working. The object loads but it doesn't animate.

I see the same when using Reality Composer and importing the model in it. The animations don't play.

As I'm seeing the same result with Apple supplied USDZ files, I feel like I'm missing something ...

Is this supposed to work?
To answer my own question, I managed to get the animation to play by doing:
Code Block
entity.playAnimation(entity.availableAnimations.first!)

and loading the model separately.

I'm still wondering why I can't make this happen from Reality Composer itself.

USDZ Animations work in QuickLook but not RealityKit
 
 
Q