core/image.cpp:1598 - Index p_width - 1 = -1 is out of bounds (MAX_WIDTH = 16384)

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By luxel

I got a bunch of errors in my console and I have no idea what those mean.
I can’t find anything about it online, but I don’t think it’s anything serious, also because it is only found in the editor when I save in a scene with a node of type… Node, as root, and not during the game.

I’m using W10 with Godot v3.2.1

The full console error:

  • core/image.cpp:1598 - Index p_width - 1 = -1 is out of bounds
    (MAX_WIDTH = 16384).
  • Width of image must be greater than 0.
  • core/image.cpp:2378 - Condition “data.size() == 0” is true.
  • drivers/png/png_driver_common.cpp:56 - png_image_write_to_memory: invalid argument
  • drivers/png/png_driver_common.cpp:183 - Condition “compressed_size <= png_size_estimate” is true. Returned: FAILED
  • Can’t convert image to PNG.