Imported animation has a gap when loop

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By jdoohen52

I have an animation imported from blender. In blender, when preview the animation, the last frame is smoothly continued by the first frame. However, when imported to godot, there is a visible gap after finish playing animation once and back to the first frame. Is there anything I can do to make it as smooth as blender? I attached the blender file and exported glb file that can be imported in godot. Try see the Walk_F_IP and Run_F_IP animation in godot, which the gaps are quite annoying. Thank you!

blender file: corgi_agression_astart.blend - Google Drive
glb file: corgi_anim.gd - Google Drive

:bust_in_silhouette: Reply From: jdoohen52

Answer myself: select the first frame of all bones, duplicate them and place as the last frame of the animation. Also make sure Animation length (seconds) of the loop (in animation editor top right, next to the timer icon) set to the last frame’s time you just added (you can find it by select last frame, see in Inspector). Now animation becomes a seamless loop!