godot-4-importality icon indicating copy to clipboard operation
godot-4-importality copied to clipboard

Aseprite > AnimatedSprite not working in Godot 4.3

Open thyancey opened this issue 1 year ago • 5 comments

When using AnimatedSprite2D with SpriteFrames set to an .aseprite file, no preview will show in the editor or when running the game. There are no errors, but repeated warnings for:

parse_variant: Broken external resource! (index out of size)
<C++ Source> core/io/resource_format_binary.cpp:448 @ parse_variant()

I reproduced it by creating a new project with only an AnimatedSprite2D Importality v0.3.0 Windows 11 v4.3.stable.official [77dcf97d8] (Compatibility renderer)

thyancey avatar Aug 17 '24 03:08 thyancey

Same issue and console warning as reported. Adding some screenshots:

In Godot, the animation frames are blank: image

In Aseprite: image

treepumpkin avatar Aug 18 '24 13:08 treepumpkin

I had the same problem, and then I tried it on 4.3-stable, 4.2.2-stable, and 4.1-stable, 4.2.2-stable showing frame animation

wangchongbin avatar Sep 22 '24 13:09 wangchongbin

Try disabling the FLAG_BUNDLE_RESOURCES flag in the animated sprite 2D.gd file in the importality plug in. That fixed the problem for me

ThalwegIII avatar Oct 11 '24 23:10 ThalwegIII

I had same issue, fixed with @ThalwegIII comment! Thanks.

My Godot version: image Plugin commit: 7f6b0717cd52f67bb5aa8f694c8155aaecf01a5f

Edit:

Instead of change source by yourself, use branch origin/fix_empty_frames commit ad3c510a66425ff551c01a2328855c6fb500bd1b

siglesiasg avatar Nov 02 '24 11:11 siglesiasg

Oh, it's been so long since I was here! Please tell me, is this issue still relevant?

nklbdev avatar Jun 15 '25 17:06 nklbdev