KhronosGroup / glTF-Blender-IO

Blender glTF 2.0 importer and exporter
https://docs.blender.org/manual/en/latest/addons/import_export/scene_gltf2.html
Apache License 2.0
1.5k stars 319 forks source link

GLTF Export fail on animated camera #2374

Closed vKreuziger closed 2 weeks ago

vKreuziger commented 1 month ago

When I try to export a scene containing an animated camera object (any sort of animation: keyframe, follow track, etc.) the export fails with an error, CC @hybridherbst

To Reproduce

  1. Open attached .blend file
  2. Go to File -> Export -> gltf 2.0 (.gltf/.glb)
  3. In the export dialog go to Animation -> Animation Mode: Set to 'Scene'
  4. In the export dialog go to Include -> tick 'Cameras'
  5. Click 'Export'

Expected behavior A GLB file containing the current scene with the animated camera object should be saved to disk.

minimal_example_exporting_camera_animation.zip

Here's the error message I get upon exporting: blender_sEaIPOxMh1

Version

julienduroure commented 1 month ago

Confirmed

julienduroure commented 1 month ago

Should be fixed by #2376, when merged