GLTF export fails with simple bone animation #60268

Closed
opened 2019-01-07 12:35:29 +01:00 by William Reynish · 13 comments

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:
GLTF_export_bug.blend

Export as GLTF. You get this error:
GLTF bug.jpg

**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: [GLTF_export_bug.blend](https://archive.blender.org/developer/F6209094/GLTF_export_bug.blend) Export as GLTF. You get this error: ![GLTF bug.jpg](https://archive.blender.org/developer/F6209082/GLTF_bug.jpg)

Added subscriber: @WilliamReynish

Added subscriber: @WilliamReynish
Julien Duroure was assigned by William Reynish 2019-01-07 12:39:28 +01:00

Assigning to Julien Duroure. Is this correct?

Assigning to Julien Duroure. Is this correct?
Member

Issue created on upstream issue tracker : https://github.com/KhronosGroup/glTF-Blender-IO/issues/209

@WilliamReynish : Yes, you're right. I'm part of the developer team of glTF-Blender-IO

Issue created on upstream issue tracker : https://github.com/KhronosGroup/glTF-Blender-IO/issues/209 @WilliamReynish : Yes, you're right. I'm part of the developer team of glTF-Blender-IO

Added subscriber: @UX3D-schmithuesen

Added subscriber: @UX3D-schmithuesen

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.

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.

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.

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.
Member

@WilliamReynish You have some keys on influence of ChildOf constraint on bone Bone.012, on action nipnap_flap_N

@WilliamReynish You have some keys on influence of ChildOf constraint on bone Bone.012, on action nipnap_flap_N
Member

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

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

@JulienDuroure Thanks.

@JulienDuroure Thanks.
Member

@WilliamReynish 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)

@WilliamReynish 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)
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

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

No news, closing. Don't hesitate to reopen if error is still there
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#60268
No description provided.