Page 1 of 1

[0.11.22] Crash deleting mined entity in onrobotpremined

Posted: Fri Jun 26, 2015 9:49 am
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)

Re: [0.11.22] Crash deleting mined entity in onrobotpremined

Posted: Fri Jun 26, 2015 12:39 pm
by kovarex
Thx for the report, it is fixed for 0.12 now.