Page 1 of 1

[Rseding91] [1.1.26] Crash: "EntityGhost.cpp:801: isValidGhost || isValidPole || isValidPowerSwitch was not true"

Posted: Thu Mar 04, 2021 11:12 am
by zyytssq
fail to load my saves(1.1.25) in game version 1.1.26
tried to use test game version 1.1.25, also failed.

Re: [1.1.26] Crash: "EntityGhost.cpp:801: isValidGhost || isValidPole || isValidPowerSwitch was not true"

Posted: Thu Mar 04, 2021 7:57 pm
by Rseding91
Thanks for the report. I thought I might know how your saves got into this broken state but I haven't been able to figure anything out.

Do you have any idea how in your save there's a entity ghost with a copper wire connection to a roboport? From everything I can figure out and test that should never be possible to happen yet in your save it happened.

Do you know of any way to take a working save and get it into this broken state?

Re: [1.1.26] Crash: "EntityGhost.cpp:801: isValidGhost || isValidPole || isValidPowerSwitch was not true"

Posted: Thu Mar 04, 2021 10:24 pm
by Rseding91
Ok, we were able to figure out the cause and fixed it for the next release. It was triggered by fast-replacing the ghost electric poles with roboports.

I've also fixed your save so you should be able to keep playing it.
S59-fixed.zip
(48.15 MiB) Downloaded 241 times

Re: [1.1.26] Crash: "EntityGhost.cpp:801: isValidGhost || isValidPole || isValidPowerSwitch was not true"

Posted: Fri Mar 05, 2021 11:26 am
by zyytssq
thanks, I can load the fixed save and play on now. :D