No Loader Found for Resource, uses lower letter casing version

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

hey, after I deleted a folder called textures, and then made Textures and moved the old files content onto the new Textures file. There was no error in the editor. I get this after exporting and trying to run my game:

ERROR: No loader found for resource: res://textures/UI Stuff/Menu_Pause/Quit.png. At: core/io/resource_loader.cpp:285 ERROR: poll: res://Scenes/Titlescreen.tscn:6 - Parse Error: [ext_resource] referenced nonexistent resource at: res://textures/UI Stuff/Menu_Pause/Quit.png

I know the problem is with the letter casing and/or using non existent files, but how do I fix that? I tried re-importing, I tried renaming the file to lower-cased, but then it loads from an upper-cased file, I don’t have a clue to fix this, and I didn’t know that exporting files would be case-sensitive.

:bust_in_silhouette: Reply From: jgodfrey

If it were me, I’d open the various scene files (*.tscn) and update any references to the old textures folder to the new Textures folder.

I’m not sure why the editor didn’t do that for you automatically, but I assume there are some old references left over.

As always, make sure you have backups of your scene files before hand-editing them…

:bust_in_silhouette: Reply From: jarlowrey

I had this error when trying to preload child scenes. The error came in combo with “Cyclic reference?” error:

load: Resource: 'res://src/Bullets/EntityBullets/Missile/FastMissile.tscn' is already being loaded. Cyclic reference?

poll: res://src/Bullets/EntityBullets/Missile/VeryFastMissile.tscn:3 - Parse Error: [ext_resource] referenced nonexistent resource at: res://src/Bullets/EntityBullets/Missile/FastMissile.tscn

I had to reorder my preloading to ensure that the parent is loaded before the child.