-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpha 13 has reoccurring trouble with png assets #63832
Comments
Same thing happens with jpg assets. |
This shouldn't happen once |
I'm exporting for android and I get this error for both png and jpg files. Tried exporting with .godot/imported deleted too but the same thing happens. |
Tried with bmp format too. Same error. Here's my minimal reproduction project. It's for VR and I'm testing it on a Quest 2. Also I'm exportin from Linux (Ubuntu 20.04) if that counts. |
It kept reoccuring twice or thrice after nuking /imported, but stopped - however, Godot has also nuked two TextureIcons from my hud scene, as they used pngs. My best guess is it couldn't find them so nuked the line, nuking a whole node with it. Fortunately I could discard the changes and now it seems to be working, too. Keeping this open since apparently others have a similar problem, though |
Deleting .godot/imported won't fix it for me. |
So, there are some inconsistencies here. When I export the apk, the .godot/imported folder contains 3 .etc2.ctex files each corresponding with the 3 image files in the project folder. These are supposed to be the compressed texture files the installed app loads when running. But when I run it, for some reason it looks for the .s3tc.ctex files which don't get exported into the apk and I get these errors: USER ERROR: Unable to open file: res://.godot/imported/icon.bmp-9d1de709bb464c1beb38c8bc584bca25.s3tc.ctex. Why does this happen? |
That's because the Quest 2 was updated to advertise support for S3TC, which is so uncommon on Android that Godot is not designed to handle it properly and so it doesn't export S3TC for Android. This was worked around in 3.4.5 and 3.5 with #62909. So it's not the same issue as @Zireael07's in the end. |
Closing then, since it looks resolved on my end. Hopefully won't happen again |
Godot version
4.0 alpha 13
System information
Linux Manjaro, Vulkan, Intel Kaby Lake
Issue description
( The last line is probably a red herring, and repeat ad infinitum for EVERY png asset in the project as I try to open related scenes)
Steps to reproduce
Open a project that worked in previous alphas in alpha 13. Problem will temporarily go away upon forcing reimport (i.e. nuking .imported) but then will reappear after relaunching Godot later.
Is super annoying because affected project will open in editor, at least partially, but NOT run (and with NO errors in output upon trying to run), and because it was seemingly fixed earlier.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: