Original message (verbatim)
Image format must match texture's image format.
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
Calling update_layer on a layered ImageTextureLayered with an Image whose pixel format differs from the texture's existing format.
Typical cause
update_layer compares get_format(); on mismatch it ERR_FAIL_COND_MSG and skips updating that layer.
Step-by-step fix
- Confirm the passed Image uses the same format the texture was created with.
- To change format, rebuild the texture instead of updating a layer on the old one.
- Do not mix compressed and uncompressed layers.
Source links
Per-entry sources and capture date are listed at /sources#G18.
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