Problem:
For testing and optimization purposes I want to tweak presets for Texture2D and Image import. I’ve got a lot of sprites in different folders so I want to reimport them all at once.
What I tried:
I tried set new default import preset and delete .godot folder to trigger reimport, but it didn’t work.
I tried to select folder “sprites” but it dont show Import menu.
Question:
How can I trigger re import for all sprites with new preset?
Hello, the solution is to delete all the .import files. Godot stores the import configurations in these files (you can open one with a text editor to verify this). When you change your import presets without reimporting files, Godot continues to use the cached versions of your assets stored in the .import files. Removing these files forces the engine to reimport all your sprites using the new settings.
Additionally, you can reimport an individual asset (not the folder) from the Import dock by selecting it and clicking the reimport button if needed.
Just open your project directory in your file system, search for .import, and delete the desired files.