Original message (verbatim)
Cannot load image from path '%s'.
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
Godot 3.x runtime: when ImageTexture reloads from a res:// path (_reload_hook), ImageLoader::load_image fails — file missing, wrong path, corrupted image, or unsupported format.
Typical cause
After _reload_hook loads the image, err != OK; ERR_FAIL_COND_MSG aborts the reload and the texture keeps old data or stays empty.
Step-by-step fix
- Verify the res:// path and file existence.
- Confirm the image format is supported by 3.x.
- Reimport the image in the editor.
- Check whether the export package missed this asset.
Source links
- https://raw.githubusercontent.com/godotengine/godot/3.x/scene/resources/texture.cpp#173
- https://docs.godotengine.org/en/3.5/classes/class_imagetexture.html
Per-entry sources and capture date are listed at /sources#G12.
Related errors
Related Godot errors
Need an offline quick-reference checklist?
Atlas error library Pro pack: 123 error references (110 single + 13 merged) plus a quick-fix guide, $19 one-time purchase, delivered as electronic files.
Back to the all-errors index Checkout and buy the Pro pack — $19.00