Page 1 of 1
[boskid][2.0.25] crash when deconstructing a power switch
Posted: Sun Dec 15, 2024 1:43 am
by fartmonger
I tried to deconstruct a power switch on Fulgora, in remote view, and the game crashed. It's reproducible by opening this save and marking the power switch on screen for deconstruction. As soon as a bot picks it up, game crashes. If I manually disconnect the wires to it first then it's fine. Mostly have QOL mods, not much that should affect electric network that I know of. Thanks for checking it out!
Re: [2.0.25] crash when deconstructing a power switch
Posted: Sun Dec 15, 2024 2:19 am
by Loewchen
Re: [2.0.25] crash when deconstructing a power switch
Posted: Sun Dec 15, 2024 5:08 am
by boskid
It was supposed to be fixed in 2.0.25 so it must be something different, taking out of duplicates
Re: [2.0.25] crash when deconstructing a power switch
Posted: Sun Dec 15, 2024 11:08 am
by Arcus
Hmm, I think I might have gotten the same issue, so I'll upload my log + dump files here if it helps (was doing some tests on fusion reactor efficiency and wanted to isolate some power connections, crash seems to have occurred when I attempted to disconnect/deconstruct a power switch). Unfortunately the last game save I had was a full 30 minutes before the crash so I'm not sure it'll help, but I'll include it anyway. Also on latest experimental (2.0.25), mods in the save were Editor Extensions, Rate Calculator, Factory Planner.
Re: [2.0.25] crash when deconstructing a power switch
Posted: Sun Dec 15, 2024 4:20 pm
by Loewchen
boskid wrote: ↑Sun Dec 15, 2024 5:08 am
It was supposed to be fixed in 2.0.25 so it must be something different, taking out of duplicates
The one I linked is still open and I haven't seen it in the 2.0.25 changelog, the only fixed one with a similar crash I found (
121056) was fixed in 2.0.17.
Re: [2.0.25] crash when deconstructing a power switch
Posted: Sun Dec 15, 2024 7:13 pm
by boskid
Loewchen wrote: ↑Sun Dec 15, 2024 4:20 pm
The one I linked is still open and I haven't seen it in the 2.0.25 changelog, the only fixed one with a similar crash I found (
121056) was fixed in 2.0.17.
121056 was fixed in 2.0.17 and it was related to power switch trying to disconnect while not setup.
Other issue related to power switch i am thinking about is
122282, it involves dying power switches. During that fix i also changed one assert into a release assert which i suspect may detect more cases, this is why i will want to take a closer look at the new cases if they happen in version 2.0.25+
Re: [boskid][2.0.25] crash when deconstructing a power switch
Posted: Sun Dec 15, 2024 11:39 pm
by yangbowen1028
I also have a crash that fails the same assert when mining a power switch.
To reproduce, simply mine the power switch to the left of the player.
Re: [boskid][2.0.25] crash when deconstructing a power switch
Posted: Mon Dec 16, 2024 3:39 am
by foreverwintr
Not sure if more crash reports are helpful, but here is mine. Also happened while deconstructing a power switch on Fulgora.
Re: [boskid][2.0.25] crash when deconstructing a power switch
Posted: Mon Dec 16, 2024 1:44 pm
by boskid
Thanks for the report. This issue should be now fixed for 2.0.26. It was a bug that i accidentaly introduced by fixing
122282 which was not detected early as there were no tests that would destroy power switch that was in a closed state.