How to track cause of errors.

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By krasnavin

I deleted not needed problem file “”, but another file seeks files I deleted. Any ideas on how to find files seeking deleted file “”?

modules/gdscript/gdscript.cpp:775 - Condition “err” is true. Returned: err
Cannot load source code from file ‘res://SCENES/Cave1/src/input/’.
Failed loading resource: res://SCENES/Cave1/src/input/ Make sure resources have been imported by opening the project in the editor at least once.
res://SCENES/FPS In Cave2/scenes/character/ - Parse Error: Couldn’t load the base class: res://SCENES/Cave1/src/input/
modules/gdscript/gdscript.cpp:566 - Method failed. Returning: ERR_PARSE_ERROR

Maybe you can find it by using the “orphan” tool from the Tool menu (sorry, the name escapes me at the moment)?

Ertain | 2022-04-13 20:56

:bust_in_silhouette: Reply From: jgodfrey

The way I read that error, your class is derived from the (now missing) script. So, I’d start by looking at

In addition to the above, you can always search your scene files and script files for references to the offending file. On Windows, I’d recommend something like the free Agent Ransack to search everything in your project folder structure. Otherwise, for *nix machines, some form of grep should do.

jgodfrey | 2022-04-13 22:58