Hello,
Again me after long time 😃
Recently I tried to export my project (started in Godot 3 and ported to Godot 4) and apparently my project doesn't work after I export it. It doesn't work exported as debug or release. From errors I figured out there are some textures missing and because of that it can't load materials, so can't load scenes and scripts assert, so it basically loads first scene and do nothing more.
I exported project resources to zip file and checked its content for missing resources and yes, textures mentioned in errors were actually missing. Issue happened only for 2 textures (to be exact that were normal maps), other textures were exported properly. I tried different export options, even tried specify that missing textures manually to export, but anyway I wasn't able force Godot to export them, they were always missing in exported file.
Finally when I figured out that only exactly 2 textures were missing I checked that specific textures and it turned out that only them were marked as VRAM compressed with HighQuality checked (in import tab). When I unchecked HighQuality checkbox magically Godot exported that 2 textures as expected and exported project works.
I checked HighQuality for that 2 normal maps, because it made shading looks a lot better compared to default setting and worked perfectly fine in Godot editor until I tried export my project.
Is that a Godot bug that VRAM Compressed HighQuality textures are not exported? Or that is some invalid setting which shouldn't be used? I'm not an expert when it comes to textures format and compression, maybe that creates some invalid setting, but it was very unexpected and took me some time to figure out what and why happened (and maybe this experience will help someone else who face similar issue).
Note: For clarification I tried exporting with Godot 4.0.0 stable and with 4.0.1 RC1 and 4.0.1 RC2, but result was always the same