Messy GLTF animation export #104993

Closed
opened 2023-11-09 15:30:12 +01:00 by Jean-Dominique-Frattini · 1 comment

System Information
Operating system: Debian Linux 12.0
Graphics card: Various

Blender Version
Broken: 3.4.0, 3.6.5
Worked: unknown

Short description of error
Gltf animation export can create messy and unworking files.
For some files it can work, for many others, it creates unusable Gltf files.

Exact steps for others to reproduce the error
Start Blender.
Import an Fbx file with animation.
Test and see that the animation is working.
Save the project as a blend file.
Close Blender.
Start blender with opening the blend file.
Test and see that the animation is still working.
Export the file as gltf.
Close Blender.
Open Blender.
Import the gltf file: animation is not working.

It appears that Blender is creating messy data in the animation of the gltf file. For one animation present in the fbx, Blender will create more than 90 little separate animations in the Gltf file that it cannot re-read later on.

Note that for some fbx files, this can work, and for some other this won't work.

Blend file attached that shows the issue when exporting to gltf.

**System Information** Operating system: Debian Linux 12.0 Graphics card: Various **Blender Version** Broken: 3.4.0, 3.6.5 Worked: unknown **Short description of error** Gltf animation export can create messy and unworking files. For some files it can work, for many others, it creates unusable Gltf files. **Exact steps for others to reproduce the error** Start Blender. Import an Fbx file with animation. Test and see that the animation is working. Save the project as a blend file. Close Blender. Start blender with opening the blend file. Test and see that the animation is still working. Export the file as gltf. Close Blender. Open Blender. Import the gltf file: animation is not working. It appears that Blender is creating messy data in the animation of the gltf file. For one animation present in the fbx, Blender will create more than 90 little separate animations in the Gltf file that it cannot re-read later on. Note that for some fbx files, this can work, and for some other this won't work. Blend file attached that shows the issue when exporting to gltf.
Jean-Dominique-Frattini added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-11-09 15:30:13 +01:00
Member

Hello,
Can't see any issue here. Your file has lots of empties that are also animated. This empty animations are also exported.
Select only your armature and meshes, and export with "export only selection" option => You will have only 1 animation exported.
Closing, as the exporter works as expected. (Except if I miss something. In that case, please comment with more details way to reproduce what you think is wrong)

Hello, Can't see any issue here. Your file has lots of empties that are also animated. This empty animations are also exported. Select only your armature and meshes, and export with "export only selection" option => You will have only 1 animation exported. Closing, as the exporter works as expected. (Except if I miss something. In that case, please comment with more details way to reproduce what you think is wrong)
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-11-09 18:10:45 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#104993
No description provided.