USDZ file not working

I'm working on a project wherein RealityKit for iOS will be used to display 3D files (USDZ) in a real-world environment. The model will also need to animate differently depending on which button is pressed. When using models that are downloaded from various websites or via Apple QuickLook, the code functions well. I can hold the animation in place and click a button to play it.

Unfortunately, although the model (through blender) my team provided is animating in SceneKit, it does not play at all when left in the real world, not even when a button is pressed.

I checked RealityKit USDZ tool, and found usdz file is not valid, they are not figure out whats wrong.

Could you please help me figure out what's wrong with my USDZ file?

Working USDZ: https://developer.apple.com/augmented-reality/quick-look/models/drummertoy/toy_drummer_idle.usdz

My file: https://drive.google.com/file/d/1UibIKBy2fx4q0XxSNodOwQZMLgktKiKF/view?usp=sharing

  • You can get it to work in SceneKit but not RealityKit? I misread the question and thought it was Scenekit related where I do have it working. The doors are animated although the orientation is wrong. Y-axis is up yet this is on Z. I haven't used realitykit enough. The error may be related to RealityKit catching this difference in orientation? Not sure why it would care though.

Add a Comment