[0.18.47] Crash with invalid iconspecification
Posted: Wed Aug 12, 2020 2:32 am
An iconspecification for item_prototype.icons that has icon_mipmaps and icon_size, but no filename results in a crash when either opening the craft menu or trying to craft the item, despite the game successfully loading. This may also require pictures to be set on the prototype.
Attached are a log, dump, save, and a screenshot of an example prototype that can reproduce the issue.
Error ImageDrawOrder.cpp:63: Invalid sprite reference. Sprite: <EMPTY> {x = 0, y = 0, w = 0, h = 0}, 0x000002402326b638, owner: ee-super-inserter:item
Attached are a log, dump, save, and a screenshot of an example prototype that can reproduce the issue.
Error ImageDrawOrder.cpp:63: Invalid sprite reference. Sprite: <EMPTY> {x = 0, y = 0, w = 0, h = 0}, 0x000002402326b638, owner: ee-super-inserter:item