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

Broken backward compatibility / empty frames

Open fire opened this issue 4 months ago • 4 comments

The latest DEV-versions of Godot have broken backward compatibility, and when importing SpriteFrames you may see that all frames are empty. In this case, try using the plugin from the fix_empty_frames branch. It uses PortableCompressedTexture2D to save the atlas embedded right in SpriteFrames resource instead of saving a separated PNG-file. Please let me know about any problems with this.

Hi, I work on the Godot Engine 3d formats, import and animation.

PortableCompressedTexture2D is a valid way to store uncompressed or raw textures to avoid compression generational error.

What was the original problem though?

fire avatar Jul 16 '25 19:07 fire

PotrableCompressedTexture2D had some issues with PNG encoding that I fixed in two pull requests:

  • https://github.com/godotengine/godot/pull/77712
  • https://github.com/godotengine/godot/pull/86835

Before that, you couldn't create and embed this resource in SpriteFrames. You could only use ImageTexture. But it took up a lot of space (without compression). So I used to create a PNG file and wait for it to be imported (as CompressedTexture2D). Then I referenced the resulting Texture2D resource and continued importing.

After those pull requests has been included into the release version, I made an Importality branch that uses PortableCompressedTexture2D.

nklbdev avatar Jul 17 '25 19:07 nklbdev

So why isn't the Importality branch in main?

fire avatar Jul 17 '25 20:07 fire

Because I was pretty tired from all the different things and work and lost my concentration. I fell into depression. Then it took me a long time to get out of it. And now I can't muster up the courage to take on the project again. And I'm very sorry that I'm letting down the developers who expect me to update the plugin.

nklbdev avatar Jul 18 '25 00:07 nklbdev

Because I was pretty tired from all the different things and work and lost my concentration. I fell into depression. Then it took me a long time to get out of it. And now I can't muster up the courage to take on the project again. And I'm very sorry that I'm letting down the developers who expect me to update the plugin.

Your plugin has already immensely helped our project. You are not letting us down since you don't owe us nothing. Hope you keep up doing great work in the future, and hope you are in a better spot than before.

safernan121 avatar Jul 22 '25 11:07 safernan121