[0.11.22] Crash deleting mined entity in onrobotpremined

This subforum contains all the issues which we already resolved.
User avatar
Akhiros
Inserter
Inserter
Posts: 21
Joined: Fri Jun 06, 2014 7:58 pm
Contact:

[0.11.22] Crash deleting mined entity in onrobotpremined

Post by Akhiros »

Factorio will crash if you delete the mined entity In the callback for the onrobotpremined event. I'm attaching a mod to demonstrate the bug; just start a new game with this and Factorio should crash.
crash_1.0.0.zip
Crash Demonstration Mod
(1.11 KiB) Downloaded 65 times
Normally I'm reticent to report issues caused by my modding mistakes, but Rseding91 advocated reporting crashes regardless of cause. (in case you're wondering, I was trying to do things like swap out certain resources with other types when mined sufficiently, or conditionally prevent the mining from yielding resources)
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.22] Crash deleting mined entity in onrobotpremined

Post by kovarex »

Thx for the report, it is fixed for 0.12 now.
Post Reply

Return to “Resolved Problems and Bugs”