Godot try to import and load a deleted texture

Godot Version

3.5

Question

Hello, I have an issue whis a texture after I changed import’s parameters (for Android). Since, I changed that, the editor tells that it can’t load the texture (in s3tc), even if ET3C is disabled.
This error comes only for this texture (PNG) and I tried to deleted, changed the texture, but the error is still here.
Why I don’t understand is even if I delete the texture, godot is still trying to load the texture. Moreover, the texture is not loaded by scene and scripts.
Maybe it’s easyer to check where godot take the list of files that it has to import and delete the texture name, but I don’t know where godot save it.
I deleted the .import folder, the texture, and the .import file which is in the same folder of the texture.

Best regards,
Thank you!

Try deleting the whole .godot folder

It didn’t solve the issue. The project don’t showed the error one time, but the issue came again after… Maybe I will try this way just before an export but it is not a safe solution…
I found why this texture makes an error. I deleted the alpha channel of the image and the image was imported in RGB8 instead of RGBA8.
But, even if I replace by a new texture with RGBA8 or I delete the texture, the error still exist.

Excuse me, but maybe I didn’t delete the good .godot folder. I deleted the godot folder in /local/godot (and local/temp/godot).
Are you sure that .godot folder exists in Godot 3.5?
The .import file is showed, so I believe that hided folder are showed in my folder, but there is no .godot folder.

Thank you

I’m not, but if there’s none the you don’t need to delete it :smiley:

You can search/grep within your tres files to see if any of them references the problematic file.

Hello, I found the solution.
I had to open the scene where the texture was loaded.. Even if the texture was deleted, I believe the beginning of the issue was because I replaced a RGB8 by a RGBA8.