[2.0.42] Crash loading save due to mod: ElectricEnergySource.cpp:613: Invalid owner type

Place for things which are bugs but we have no idea how to solve them. Things related to hardware, libraries, strange setups, etc.
donisaurs
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Mar 12, 2025 8:14 pm
Contact:

[2.0.42] Crash loading save due to mod: ElectricEnergySource.cpp:613: Invalid owner type

Post by donisaurs »

Got a save game chain that worked on 2.0.32, that now won't load anymore in 2.0.39 and 42. The load bar progresses, then a "running entity setup" bar appears and the game crashes with (full log file linked below):
31.833 Error ElectricEnergySource.cpp:613: Invalid owner type
31.833 Error CrashHandler.cpp:643: Received 22

I had only the following mods enabled:
  • HD planets - hd_planets - 2.0.10
  • Visible planets in space - visible-planets - 1.2.12
After some troubleshooting I found the following to be true concerning the visible-planets mod:
- 2.0.39 with mod version 1.2.12 -> crash
- 2.0.39 with mod version 1.4.4 -> crash
- 2.0.39 with no mod -> crash
- fallback to 2.0.32 with no mod -> crash
- fallback to 2.0.32 with mod version 1.4.4 -> crash
- fallback to 2.0.32 with mod version 1.2.12 (so original version pre update to 2.0.39) -> OK
- fallback to 2.0.32 with mod version 1.3.1 -> crash
- fallback to 2.0.32 with mod version 1.2.16 -> crash

Issue seems to be related to that specific mod version. The issue is not related to a specific save game and persists across sessions. Even tried save game backups from before 2.0.39 was released. Any change to a visible-planets mod other than 1.2.12 in 2.0.32 crashes. I can't find any earlier mod versions >1.2.12 and <1.2.16 to test with and all the version I've tried are giving errors.

I've reached out to the mod dev, see https://mods.factorio.com/mod/visible-p ... e615028e9f, who could not find the cause and recommended reaching out here. I've tried the suggestion of adding another mod when running 2.0.32 in combination with mod version 1.2.12 (used DiscoScience_2.0.1.zip as a test), this also makes the load crash.

So my factory is stuck growing on a specific branch, and can't move away from the mod either. :? Playtime isn't huge, but it's the only playtime I've been able to get since Space Age released :) I would very much appreciate some assistance!

Save game:
SPAAAAAAAAACE_5.zip
Current save game
(37.94 MiB) Downloaded 6 times
Log file (current):
factorio-current.log
Current log file of loading game & crashing
(11.41 KiB) Downloaded 5 times
Dump file (current):
factorio-dump-current.dmp
Current dump file
(1.27 MiB) Downloaded 4 times
Log file (previous):
factorio-previous.log
Previous log file
(11.86 KiB) Downloaded 7 times
Mod file:
visible-planets_1.2.12.zip
Mod in question
(547.01 KiB) Downloaded 5 times
Mod file addon: https://mods.factorio.com/mod/hd_planets
Loewchen
Global Moderator
Global Moderator
Posts: 9908
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

Re: [2.0.42] Crash loading save due to mod: ElectricEnergySource.cpp:613: Invalid owner type

Post by Loewchen »

I don't think this has anything to do with the mod but with the check only running when game or mod version change.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15222
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [2.0.42] Crash loading save due to mod: ElectricEnergySource.cpp:613: Invalid owner type

Post by Rseding91 »

Looking at the save: the save file is already in a broken state and it's simply detected any time you change game versions or update any mods/change mods. If you know of a way to get a working save into this broken state let us know but otherwise this kind of issue has historically been failing hardware (RAM or CPU).
If you want to get ahold of me I'm almost always on Discord.
donisaurs
Manual Inserter
Manual Inserter
Posts: 2
Joined: Wed Mar 12, 2025 8:14 pm
Contact:

Re: [2.0.42] Crash loading save due to mod: ElectricEnergySource.cpp:613: Invalid owner type

Post by donisaurs »

Had issues with a RAM stick that started failing with uncorrectable errors. Got replaced and haven't had a single BSOD since. Anything I can do manually to the save file to weed out parts that are triggering the bug?
Post Reply

Return to “1 / 0 magic”