I have deleted some of my script files (GDScript) and now every time I open the project I get error saying
Attempt to open script 'res://file_path/script_file.gd' resulted in error 'File not found'.
Which is not serious, does not affect my project at all but just slightly annoying so I was wondering if there is a way to fix this?
Some stuffs are cached in Godot Engine, so it might not refresh yet. But you can force it to reindex everything:
- Close the project
- Go to your project directory
- Delete (or move somewhere) your .godot folder
- Open again, and Godot Engine will reimport and reindex everything