What happened:
I reimported all .png files in my project from lossless to vram compressed.
After that exported game increased from 2.5gb to 6.5gb. Size of project is 2.5gb.
I reimported all files manually with “import” menu.
After discovering that I reimported all files by deleting “imported” folder in .godot
Question:
Why does it happen and is there a way to decrease size?
vram compressed is a format that is compressed in VRam memory, not compressed on disk. If it’s a 2D game lossless is usually better.
You can check what files are taking up the most space on-export by delving into the .godot/imported folder.
If it’s mostly textures eating up your disk space, the best way to reduce size is to scale the textures down. For a 3D game this shouldn’t affect too much. If it’s Audio try using ogg/opus compression.
90% of size is sprites: a lot of big sprite-sheets for animations that could have size like 7000x3000 pixels and 4k backgrounds.
Because of that vram was on high load always. I try to reimport all sprites and got way falter loads and less vram load. But I don’t understand why Vram compression increased exported project size.
Maybe problem somewhere in .godot/import because sometimes I have multiple instances of one file: