While exploring around a building the game crashed with a seg fault error. Now it crashes immediately on load.
or
The main character wins megabucks.
Mega City 4.zip
crash.log
debug.log
01:39:41.804 ERROR : D:\git\Cataclysm-DDA\src\item_location.cpp:244 [ensure_who_unpacked] Failed to find item_location owner with character_id 1
01:39:48.666 ERROR : D:\git\Cataclysm-DDA\src\item_location.cpp:102 [ensure_unpacked] item_location lost its target item during a save/load cycle
Seems to be a case of #41352, crashes while loading item locations for avatar's activity:
https://github.com/CleverRaven/Cataclysm-DDA/blob/bcd166f18c0155cbc1bb420205906c1e2314cd44/src/savegame_json.cpp#L326
Clearing current activity (ACT_DROP) makes the save loadable: save-fixed.zip
You are a saint, thank you!
01:39:41.804 ERROR : D:\git\Cataclysm-DDA\src\item_location.cpp:244 [ensure_who_unpacked] Failed to find item_location owner with character_id 1 01:39:48.666 ERROR : D:\git\Cataclysm-DDA\src\item_location.cpp:102 [ensure_unpacked] item_location lost its target item during a save/load cycleSeems to be a case of #41352, crashes while loading item locations for avatar's activity:
https://github.com/CleverRaven/Cataclysm-DDA/blob/bcd166f18c0155cbc1bb420205906c1e2314cd44/src/savegame_json.cpp#L326Clearing current activity (
ACT_DROP) makes the save loadable: save-fixed.zip
Hello! I got the same problem today:
17:08:08.427 ERROR : src/item_location.cpp:242 [bool item_location::impl::item_on_person::ensure_who_unpacked() const] Failed to find item_location owner with character_id 1
17:08:18.569 ERROR : src/item_location.cpp:100 [void item_location::impl::ensure_unpacked() const] item_location lost its target item during a save/load cycle
I found this post, but I dont know how to clear current activity. Any help would be very appreciated, thank you! Here's my save:
my_world_name.zip
@IYourDoomI Yeah, same thing. my_world_name-fixed.zip
A guide for anyone else who may stumble upon this:
.sav extension (there _should_ be only one with that extension, but I'm not sure about that)"activity" string (including quotes)."activity": { "type": "ACT_DROP", ... (may be something a bit different, e.g. "ACT_CONSUME") with "activity": { "type": "ACT_NULL", ...Does not crash on latest game version. Please try again and report if you still face this issue.
Most helpful comment
@IYourDoomI Yeah, same thing. my_world_name-fixed.zip
A guide for anyone else who may stumble upon this:
.savextension (there _should_ be only one with that extension, but I'm not sure about that)"activity"string (including quotes)."activity": { "type": "ACT_DROP", ...(may be something a bit different, e.g."ACT_CONSUME") with"activity": { "type": "ACT_NULL", ...