[raiguard][2.0.58] Crash loading save "FluidBoxConnectionDeserialiser::load"

Bugs which we just recently fixed in our development version and will reach you in the next release.
MrSmoothieHuman
Fast Inserter
Fast Inserter
Posts: 137
Joined: Sat Aug 05, 2023 1:20 am
Contact:

[raiguard][2.0.58] Crash loading save "FluidBoxConnectionDeserialiser::load"

Post by MrSmoothieHuman »

I am currently expirencing a crash that seems to happen uncommonly when booting into one of my saves, due to a fluidbox issue. This was also happening on 2.0.55, and i specifically went to the newest release to see if it fixed it, but it still occurs with the exact same error and message in the current log.
This is what appears when loading into the savefile:
06-28-2025, 11-21-21.png
06-28-2025, 11-21-21.png (25.86 KiB) Viewed 791 times
The mods i am using are:
* Periodic Madness
* Editor Extensions
* Factory Library
* Factory Planner
* Elevated Rails
* Enable All Feature Flags
* Stats GUI
If i removed any of these mods (except Periodic Madness/Editor Extensions/Factory Library) it didnt seem to crash? but due to this crash only happening sometimes, im not entirely sure.

I have linked the current-log and save file in the post, but im 99% sure I know what is causing this? I am using a composite entity to give reactors input/output fluidboxes, so that they can require a constant stream of coolant/fluid, and that was the thing I was messing with last code-wise before this crash started to occur.
The code that im assuming is causing this issues can be seen here, but i will also include a link the entire mod.
https://github.com/MrSmoothieHuman1/per ... ooling.lua
https://github.com/MrSmoothieHuman1/per ... actors.lua
Periodic Madness mod zip:
https://drive.google.com/file/d/1vS5kFz ... drive_link

Feel free to ask for any more info :]
Attachments
_autosave1.zip
I wasn't sure if using a new save for this would cause any differences, so i do apologise for the messy save :]
(1.56 MiB) Downloaded 26 times
factorio-current.log
(9.34 KiB) Downloaded 21 times
coder? i hardly know her!
MrSmoothieHuman
Fast Inserter
Fast Inserter
Posts: 137
Joined: Sat Aug 05, 2023 1:20 am
Contact:

Re: [2.0.58] Crash when loading into a save from the start menu

Post by MrSmoothieHuman »

Small update, deleting all the reactors I had placed in the save seems to have stopped it from crashing - which almost certaintly puts the blame on them :lol:
coder? i hardly know her!
Rseding91
Factorio Staff
Factorio Staff
Posts: 15962
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.58] Crash loading save "FluidBoxConnectionDeserialiser::load"

Post by Rseding91 »

Thanks for the report. The crash is fixed for the next release - it will simply shows a "corrupt map" error at the load screen.

The reason why the save is getting into that state seems to be a different bug which I'll forward to the fluids guy.
If you want to get ahold of me I'm almost always on Discord.
MrSmoothieHuman
Fast Inserter
Fast Inserter
Posts: 137
Joined: Sat Aug 05, 2023 1:20 am
Contact:

Re: [2.0.58] Crash loading save "FluidBoxConnectionDeserialiser::load"

Post by MrSmoothieHuman »

Rseding91 wrote: Sun Jun 29, 2025 6:41 pm The crash is fixed for the next release - it will simply shows a "corrupt map" error at the load screen.
I just want to ask, will this not let players use their save? the only reason i ask is because this is stopping me from releasing a major update (and while i dont expect anything special for that :lol:), but if it just throws a 'notice' then i'll upload it when .59 rolls around - but if not i'll wait until its completely fixed :D
coder? i hardly know her!
User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 4059
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [raiguard][2.0.58] Crash loading save "FluidBoxConnectionDeserialiser::load"

Post by boskid »

Thanks for the report. This issue is now fixed for 2.0.64.

This issue is a load time issue and save files that were previously not loading will load properly after the fix or after adjusting mods slightly.

Issue is related to `nuclear-reactor-coolant-furnace` furnace which is crafting a `pm-coolant-burn-with-exhuast` recipe. Furnace has only 2 output pipes however this recipe has custom fluid box indexes configured to output fluids to fluid boxes 2 and 3. Furnaces in general do not care about custom fluidbox indexes as the layout of fluidboxes is fixed, however there was a logic fault when loading that would attempt to adjust fluid boxes using custom fluidbox indexes and this triggered the issue. For 2.0.64 i made this loading code to ignore custom fluid box indexes when loading a furnace which fixes the issue.

As a workaround you can get rid of the custom fluidbox indexes from recipes that can be crafted inside of furnaces.
Post Reply

Return to “Resolved for the next release”