Page 1 of 1

[0.17.79] Crash loading save (FluidManager::setupConnections)

Posted: Tue Dec 31, 2019 10:41 am
by DanaScully
No issues up to this point.
Same error when trying to load the three autosaves (5 min intervals).
Same error when trying to load this save without any mods activated.
Map was created in 0.17.77 and later updated to 0.17.79 with no issues.
Heavy use of blueprints with two large blueprint books.

Experienced the same error on my last playthrough (with the exact same mods) at about the same base progress.

Link to savefile: https://www.dropbox.com/s/jj85jrnkaisdq ... e.zip?dl=0

Re: [0.17.79] Crash loading save (FluidManager::setupConnections)

Posted: Tue Dec 31, 2019 5:50 pm
by Blacky007
I can't load the map too - get crash

Re: [0.17.79] Crash loading save (FluidManager::setupConnections)

Posted: Tue Dec 31, 2019 6:21 pm
by boskid
Crash is happening because save file is corrupted. Some FluidBoxes are not present inside save file or failed to load. With some temporary changes i could fix save file, however some pipes may now be empty
https://drive.google.com/file/d/1hmA2gv ... YBk_G/view

Do you have any clues about what happend around, for example this pipe?

Code: Select all

/c game.player.teleport{-511.5, -769.5}

Re: [0.17.79] Crash loading save (FluidManager::setupConnections)

Posted: Wed Jan 01, 2020 11:42 am
by DanaScully
Thanks for the quick replies. Truly remarkable. I mean, it's the holiday season!

@ boskid: Thanks a lot for fixing the save. The pipe segment you referenced was laid quite some time ago and hasn't been touched since. Also, this specific pipe system has no connections to outside of its city block except for a barreling pump. Is there any other spot I could check for a hint as to what might have happened to the fluid boxes?

Re: [0.17.79] Crash loading save (FluidManager::setupConnections)

Posted: Wed Jan 01, 2020 6:11 pm
by Blacky007
is it possbile that pipes without a defined fluid can get stuck with version change?

Re: [0.17.79] Crash loading save (FluidManager::setupConnections)

Posted: Thu Jan 02, 2020 1:10 am
by TruePikachu
@DanaScully What fluid would have been handled by that affected pipe system? Is it a vanilla or a modded fluid?

@Blacky007 No Factorio updates since the map was created would have run migrations that would affect anything related to fluidboxes, going by the changelog.

---

A mod update could be responsible for issues, assuming the affected entity is modded or the fluid is modded. While I'd suspect a removed-fluid condition to simply empty the pipes of the fluid and unfilter them, who knows what could happen if the entity prototype is changed such that fluidboxes are affected, especially since I think I remember a bug that was related to modded fluidbox issues upon migration.

Re: [0.17.79] Crash loading save (FluidManager::setupConnections)

Posted: Thu Jan 02, 2020 8:22 pm
by DanaScully
The referenced pipe was in fact handling sulfuric acid, i.e. a vanilla fluid. I am not sure in what way Bob's or Angel's might have an influence on that. I can't quite see how an update could be the culprit - as the corrupt save showed its ugly face so much later. I rather suspect one (or more) of my blueprints as the cause. Some of them date back to 0.16 or even prior to that, I am not sure. What strongly points me in that direction is that I had the exact same crash on my previous playthrough when I was building an almost identical base. I remember that the crash appeared when I was at about the same progress in my base. And it never shows while playing or saving but only when trying to load.