Page 1 of 1
[2.0.32] Crash loading save that works in 2.0.28 "ElectricEnergySource.cpp:613: Invalid owner type"
Posted: Wed Jan 22, 2025 3:16 am
by duke_adon
I've got a rather sprawling build that I'm going to remove hundreds of thousands of bots from to improve handling, but currently I can only load my saves in 2.0.28. The game works just fine on 2.0.28, but when loading the save it's immediately clear it's not going to work on those other 2 builds I tested. ( The loading bar moves much slower. ) If it's of value - I'm happy to load other versions to try this out and see where exactly it breaks.
Re: [2.0.30] and [2.0.32] Loading save crashes - works on 2.0.28
Posted: Wed Jan 22, 2025 3:27 am
by boskid
Can you check game version that you know is working if you hold Control key while pressing load inside of load gui?
Without a save file there is not much else i can do.
Re: [2.0.30] and [2.0.32] Loading save crashes - works on 2.0.28
Posted: Wed Jan 22, 2025 3:36 am
by duke_adon
Sorry, how do I get the save file?
Found it, I'll get hit hosted somewhere and uploaded soon.
Re: [2.0.30] and [2.0.32] Loading save crashes - works on 2.0.28
Posted: Wed Jan 22, 2025 3:49 am
by duke_adon
Re: [2.0.32] Crash loading save that works in 2.0.28 "ElectricEnergySource.cpp:613: Invalid owner type"
Posted: Wed Jan 22, 2025 3:30 pm
by Rseding91
The save file is already broken in 2.0.28. If you add, remove, or update any mods while in that version you will also get that error. Do you know of any way to take a known good save file and get it into this broken state?
Re: [2.0.32] Crash loading save that works in 2.0.28 "ElectricEnergySource.cpp:613: Invalid owner type"
Posted: Wed Jan 22, 2025 11:02 pm
by duke_adon
I'm able to play that in 2.0.28 and have been working towards improving my Updates Per Second while continuing to progress my science.
I don't have any mods at all.
Re: [2.0.32] Crash loading save that works in 2.0.28 "ElectricEnergySource.cpp:613: Invalid owner type"
Posted: Wed Jan 22, 2025 11:41 pm
by duke_adon
Is the post title ( "ElectricEnergySource.cpp:613: Invalid owner type"" ) something from the logging indicating that a object on my map is trying to use power that isn't available on my map?
I suspect this may be related to an imported blueprint if so, but I don't really have any feedback on what you're understanding from the logs.
Re: [2.0.32] Crash loading save that works in 2.0.28 "ElectricEnergySource.cpp:613: Invalid owner type"
Posted: Wed Jan 22, 2025 11:46 pm
by Rseding91
Sorry I think we communicated it poorly. The save file is corrupt.
It *runs* in that exact version as long as you don’t change anything. By changing anything it causes migration code to run which detects the corruption and crashes because it isn’t supposed to be in that state.
There are no known ways to get a save file into that corrupt state except computer hardware failure - which is outside of our control.
Re: [2.0.32] Crash loading save that works in 2.0.28 "ElectricEnergySource.cpp:613: Invalid owner type"
Posted: Thu Jan 23, 2025 7:38 am
by duke_adon
That's interesting, I've had Factorio running and had crashes, but I thought those I thought those were related to how many inserters and robots I had active at once ( well over 2 million robots in my network I think, and I set hundreds of thousands to task at once ) that's when this all started from what I recall. Even the save file name ( ending "Stable" ) is about me getting that working again after having sent out all those robots.
I have versioned my saves for a while, so I'll see if I can further pinpoint where the problem started, but the Hardware side is interesting - would I be seeing anything in Event logging or any other tips on where I should be looking?