godot-4-importality
godot-4-importality copied to clipboard
Aseprite > AnimatedSprite not working in Godot 4.3
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)
Same issue and console warning as reported. Adding some screenshots:
In Godot, the animation frames are blank:
In Aseprite:
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
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
I had same issue, fixed with @ThalwegIII comment! Thanks.
My Godot version:
Plugin commit:
7f6b0717cd52f67bb5aa8f694c8155aaecf01a5f
Edit:
Instead of change source by yourself, use branch origin/fix_empty_frames commit ad3c510a66425ff551c01a2328855c6fb500bd1b
Oh, it's been so long since I was here! Please tell me, is this issue still relevant?