question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

simple scene with animation causes exporter to crash

See original GitHub issue

Here is the blender scene (v2.79) untitled.zip

And this is the error that the latest TOT produces:

`INFO: Starting glTF 2.0 export Traceback (most recent call last): File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2_init_.py”, line 370, in execute return gltf2_blender_export.save(self, context, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_export.py”, line 62, in save scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py”, line 32, in gather_gltf2 animations += __gather_animations(blender_scene, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather.py”, line 60, in __gather_animations animations += gltf2_blender_gather_animations.gather_animations(blender_object, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py”, line 39, in gather_animations animation = __gather_animation(blender_action, blender_object, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py”, line 54, in __gather_animation channels=__gather_channels(blender_action, blender_object, export_settings), File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animations.py”, line 84, in __gather_channels return gltf2_blender_gather_animation_channels.gather_animation_channels(blender_action, blender_object, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py”, line 50, in wrapper_cached result = func(*args) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py”, line 31, in gather_animation_channels channel = __gather_animation_channel(channel_group, blender_object, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py”, line 48, in __gather_animation_channel sampler=__gather_sampler(channels, blender_object, export_settings), File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_channels.py”, line 81, in __gather_sampler export_settings File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py”, line 50, in wrapper_cached result = func(*args) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_samplers.py”, line 36, in gather_animation_sampler input=__gather_input(channels, blender_object, export_settings), File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_samplers.py”, line 61, in __gather_input keyframes = __gather_keyframes(channels, export_settings) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py”, line 50, in wrapper_cached result = func(*args) File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_samplers.py”, line 294, in __gather_keyframes for c in channels File “C:\Program Files\Blender Foundation\Blender\2.79\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_animation_samplers.py”, line 294, in <listcomp> for c in channels IndexError: list index out of range

location: <unknown location>:-1`

Cheers and thanks for a great tool!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
juliendurourecommented, Nov 8, 2018

Same error with shift animation on 2 differents keyframes. See file in attachment untitled.blend.zip

1reaction
juliendurourecommented, Nov 8, 2018

I reproduced it on a simplier file:

  • On default Cube, frame 1, insert keyframe on location X, Y and Z
  • On default Cube, frame 10, insert keyframe on location Z only –> Try to export
Read more comments on GitHub >

github_iconTop Results From Across the Web

Exporting to video causes Animate to crash
Exporting to video causes Animate to crash · 1) break the file down into smaller chunks (scenes of 5 to 10) and export...
Read more >
Simple skinned animation crashes Maya 2017 on export using ...
Simple skinned animation crashes Maya 2017 on export using when enabling skin clusters #766.
Read more >
Unreal USD Sequencer Export crash - General Discussion
Trying to export scene with camera animation from Unreal 4.25 using the sequencer export. It just crashes every time no matter what workstation ......
Read more >
crash everytimes try to export video. - Twinmotion Support
My scene is very simple no rain or path, some simple lights from twinmotion and cameras for the animation its basically 4 parts...
Read more >
How to Stop After Effects from Crashing - Motion Array
Is your project completed, and you're just having trouble with the export? Well, forget about exporting in After Effects, and take it to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found