How to keep animation repetitions when importing Blender file to Godot?

Godot Version

v4.3.stable.official [77dcf97d8]

Question

In Blender, I have this palm tree leaf’s animation set to repeat 9 times over the whole frame range:

When importing the .blend file directly (or via export to other model file format) to Godot, there’s no repeat showing up anymore:

Is there a setting to fix this? Or is it maybe a bug? The NLA strips correctly play back repeatedly in Blender, but not in Godot.

In Blender, I tried Make Cyclic in the graph editor but that doesn’t change anything.

Here’s the model file: Download

It’s not the animation optimizer.

I found that exporting a glTF file manually from Blender, setting Animation > Animation Mode to NLA Tracks (default is Actions), gives me the desired result. The animation plays in Godot as shown in the Blender NLA editor.

Looking at Godot code, this export setting isn’t available, so I might propose it.

1 Like