Page 1 of 1

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

Posted: Sat Jun 28, 2025 10:33 am
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 1027 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 :]

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

Posted: Sun Jun 29, 2025 2:24 am
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:

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

Posted: Sun Jun 29, 2025 6:41 pm
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.

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

Posted: Sun Jun 29, 2025 7:49 pm
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

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

Posted: Tue Aug 05, 2025 10:04 am
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.