[Animation] Frame duplication bug upon import

Describe the bug

Sometimes when importing the png files of a sprite animation, one or several of the files will appear as duplicated in the final animation that the engine plays.

Note that when the bug happens, the total number of frames in the animation remains unchanged. As the result the final frames of the animation don’t appear at all in the final imported version.
Here is an example :
The original imported animation is : “frame1” ; “frame2” ; “frame3”
When the bug happens I’ll get : “frame1” ; “frame1” ; “frame2”
The only workaround is to re-import the animation and to be very careful when previewing to be sure the bug didn’t break it.

Steps to reproduce

  • Import png files in a sprite object animation.
  • Try importing several times the same animation if it doesn’t work. The bug doesn’t happen every time and I am not sure of the exact way to reproduce it yet. You may also try different naming formats like adding the frame number at the end of the file.

If I recall correctly, this bug is present in the engine since several years. It’s not something recent so it may be already known.

1 Like

Hello @Bubble2!

Wouldn’t it be instead an issue concerning Piskel?

A+
Xierra

1 Like

I don’t see how that would be a piskel issue as I don’t use it.

1 Like

Hello @Bubble2!

Sorry but is was not said in your post and as Piskel is integrated by default in GDevelop, we could think you used it.

A+
Xierra