Page MenuHome

GLTF export fails with simple bone animation
Closed, ResolvedPublic


System Information
Operating system: Windows 10

Blender Version
Broken: Blender 2.80 beta, Jan 07

Short description of error
When exporting using GLTF, it fails in simple cases - see example blend

Exact steps for others to reproduce the error
Open this Blend:

Export as GLTF. You get this error:



Event Timeline

Assigning to Julien Duroure. Is this correct?

Issue created on upstream issue tracker :

@William Reynish (billreynish) : Yes, you're right. I'm part of the developer team of glTF-Blender-IO

Brecht Van Lommel (brecht) triaged this task as Normal priority.Jan 8 2019, 12:22 PM

As far as I can tell, you have an animation that is changing the influence of a bone in the skeleton. This is not supported by the exporter because it's not supported by glTF. I will improve the error message, but the behavior is correct.

What do you mean by an animation that changes the influence of a bone? The same animation seems to export from the GLTF exporter in 2.7x just fine. The issue is only with the new GLTF exporter.

True, what the 2.79 version is doing here is interesting, but the error is definitely because of an unsupported target of the animation which is the "influence" of "Bone012" (or similar). In 2.79 it's possibly just ignored, but I'll know more soon.

@William Reynish (billreynish) You have some keys on influence of ChildOf constraint on bone Bone.012, on action nipnap_flap_N

Some code will be commited from upstream soon, to avoid error when some not exportable curves are found

@William Reynish (billreynish) commit is done, and modification is present in today's build.
Can you please confirm that you have no more error?
(Currently, action is ignored if there is some fcurves that can't be exported)

Julien DUROURE (julien) closed this task as Resolved.Apr 2 2019, 10:20 PM

No news, closing.
Don't hesitate to reopen if error is still there