Godot Version
v4.5.1.stable.mono.official [f62fdbde1]
Question
When exporting my project, I am seeing errors, such as:
ERROR: No loader found for resource: res://pads.cfg (expected type: unknown)
ERROR: editor/export/editor_export_platform.cpp:924 - Condition "res.is_null()" is true. Returning: p_path
In this case, pads.cfg is in the filter list for exporting non-resource files/folders in the export settings. ALL of the files included in the non-resource filter are producing these errors for every export preset.
The exports appear to be working correctly and the exported binaries appear to function without issue, but I would prefer not to see these errors. What should I be doing differently?
Create a ResourceLoader for them - even if it’s a dummy and does nothing. Or change the extension of the file to something Godot will accept like .res.
1 Like
Creating a dummy ResourceLoader (actually, ResourceFormatLoader) did not correct the problem.
HOWEVER, while scratching my head over this, I rolled back another export setting (enabling Shader Baker) that I had introduced. Clearing the Shader Baker checkbox made all the export errors go away.
1 Like
I can confirm this issue on Godot 4.6 stable. In my case, the errors only appear when the shader baker is enabled — disabling it makes all errors disappear.
Affected files: .txt files included via include_filter, .icns set as app icon in export settings, and .csv translation source files (even though the actual referenced resources are the compiled .translation files).
All exports (macOS and Android) work correctly, so these appear to be false positives triggered by the shader baker’s resource validation scan.
1 Like