0
$\begingroup$

I've been struggling with exporting this project as a .glTF for a few weeks now.

A render of the animation.

My goal is to have a .glTF that plays the animation of the character grinding on the rails.

I selected only what I needed, and set the GLB export settings to only export what's selected.

When I try to open the .glTF in Microsoft's 3D Viewer, it crashes before it can even open the file. I tried opening it in this online glTF viewer to get a detailed description as to what's wrong with the file, and I get the following error:

Animation channel cannot target WEIGHTS when mesh does not have morph targets.

I've inferred that "Morph Targets” are synonymous with "Shape Keys". I converted everything into a mesh, made sure every object had at least one shape key, and even disabled "Shape Keys" under "Animation" in the export menu.

Unfortunately, this still didn't help my case. Microsoft's 3D Viewer still crashes before I even get to see the file, and I'm getting the same error message in the online viewer.

Does anyone know what's causing this? You can find the .blend file here!

$\endgroup$
1

1 Answer 1

0
$\begingroup$

In my case, this problem was caused by a Blender modifier. So I had to remove or apply modifiers for shape keys to work

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .