Home / Godot / G13

Godot error: Failed to import an image resource for editor use from '%s'. — cause and fix

Godot 4.x import: the editor-only image (use_editor_scale / convert_editor_colors branch)

ID
G13
Engine
Godot
Verification
源码原文(路径)
Frequency
未公开

Original message (verbatim)

Failed to import an image resource for editor use from '%s'.

Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.

Trigger

Godot 4.x import: the editor-only image (use_editor_scale / convert_editor_colors branch) fails to load; ImageLoader::load_image returns non-OK and this warning prints; gameplay textures may still import successfully.

Typical cause

When ResourceImporterTexture fails to load editor_image, err != OK; WARN_PRINT skips that editor image and images_imported does not include it.

Step-by-step fix

  1. Confirm the source image is not corrupted and can be decoded by ImageLoader.
  2. Reimport the texture.
  3. Review warnings for other textures in the same batch to locate the corrupt file.

Source links

Per-entry sources and capture date are listed at /sources#G13.

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.

View Pro pack / order

Back to the all-errors index Checkout and buy the Pro pack — $19.00