item-request-proxy crashes on undo
Posted: Sat Aug 16, 2025 11:40 pm
I'm trying to create item-request-proxy with my mod, and I found that if you create one with surface.create_entity and assign a player undo queue it will allow you to undo it and then crash. I think there is a check for this since I have a very descriptive line in the log file: 11166.005 Error ItemRequestProxy.cpp:462: Item request proxy should never be marked for deconstruction. They should be destroy()-ed. I think it could instead just pass along to destroy() and maybe do something to draw attention so that modders avoid it yet the game would handle it gracefully if one did end up with one in the queue.