item-request-proxy crashes on undo
item-request-proxy crashes on undo
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.
Re: item-request-proxy crashes on undo
What version of the game is this?
Re: item-request-proxy crashes on undo
Can you please provide some Lua code that will reproduce this?
If you want to get ahold of me I'm almost always on Discord.
Re: item-request-proxy crashes on undo
Actually I was able to reproduce it. It's now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.