Original message (verbatim)
Image height must be greater than 0.
Placeholders such as %s / %d are kept verbatim from the engine source and are not replaced with concrete values.
Trigger
When creating or resizing an Image, the height is zero or negative, and Image validation rejects the operation.
Typical cause
Image::resize/set_data checks p_height <= 0; when the height is invalid no buffer is allocated, the message is printed, and an error is returned.
Step-by-step fix
- Verify the height variable is positive.
- Fix the branch in frame or region height calculation that can yield zero.
- Validate both width and height are non-zero before calling image methods.
Source links
Per-entry sources and capture date are listed at /sources#G29.
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