"Failed loading resource: res://Global/Settings.gd" Error, how to fix

Godot Version

Godot_v4.2.1-stable_win64

Question

My game is unable to open the main scene when I export it, I keep geting: “Attempt to open script ‘res://Global/Settings.gd’ resulted in error ‘File not found’.” and
'Failed loading resource: res://Global/Settings.gd. Make sure resources have been imported by opening the project in the editor at least once." errors in the console rapper, anyone know how to fix or should I just quit while im ahead. Keep and mind that I haven’t made any file called “settings.gd” or folder clalled “global”

Perhaps something wrong is cached from the early stage of the project? Try to delete .godot folder in your project root.

1 Like

Nope, After deleting the .Godot folder all the import files for the all the textures in the game where gone, but then when I added back the import files from the pre-.godot delete version, It’s back to the same error again.

Im going to try to do 2 things:
Make a dummy folder and file called Global and Settings.gd
And then if that dosent work I’m gonna try to re-delete .godot and just let it re-import everything for a while and see if it crashes.

OKAY NEVERMIND!!
I fixed it!!
I made a dummy file called Settings in a folder called Global.
Then I fixed some other, unrelated, dependencies AND IT WORKED!
GAHH! FINALY!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.