Error loading a saved game (nothing changed)

Started by zomb1, August 27, 2017, 08:34:35 AM

Previous topic - Next topic

zomb1

Hi, I am not sure if this is the right topic but as i could not locate the mod responsible for the error..
this is my second savegame where after playing for a long time (6-7 hours) i go to bed and next day it does not load.. first i thought i have something in my modlist, but this time as far as i can tell there were no problems..  In the game session i did not load , so it is possible that it also happens after 1 minute of gameplay.. will test that now..
this is the log:

QuoteLoading game from file New Arrivals18 with mods MOD-E, Core, HugsLib, Mod List Backup, EdB Prepare Carefully, Faction Discovery, More vanilla factions, ResearchPal, MinifyEverything, Stack Merger, Infused, Hand Me That Brick, I Can Fix It!, QualityBuilder, CleaningArea, Numbers, Medical Tab, Wildlife Tab, Path Avoid - A17, Allow Tool, [A17] FuckFriendlyFire, SS Researchable Stat Upgrades, Stack XXL, Hospitality, High Caliber, JTReplaceWalls [A17], Mending, Static Quality Plus A17.1, Vegetable Garden , Glitter Tech, Rimsenal, Rimsenal - Feral, Rimsenal - Federation, Rimsenal - Security pack, Rimsenal - Enhanced Vanilla Pack, Rimsenal - Storyteller pack, More Trade Ships, [RF] Smooth Stone Walls [a17], SS Battery Fuse, SS Bigger Batteries, WM Reuse pods, More Vanilla Turrets, Miscellaneous 'CORE', Misc. MAI, Misc. Robots, Misc. Robots++, Misc. Training, Misc. Objects, RT Fuse, RT Power Switch, Tilled Soil, Ceiling and Floor Lamps, Additional Joy Objects, Refugee Stats - A17, Set-Up Camp, Accurate Mortars Lite, [sd] advanced powergeneration, Quantum Cooling, Super Soil, RT Solar Flare Shield, LT-DoorMat, RimFridge - A17, Prisoner Harvesting, Selling prisoners with no guilt, DE Surgeries, Expanded Prosthetics and Organ Engineering 2.0, EPOE: Rebalanced, EPOE + DE Surgery Bone Fix, ED-Laser Drill, ED-ShieldsBasic, ED-ReinforcedStuff, ED-Embrasures, SS Cultivator Tools, [A17] Trading Spot, Dubs Rimkit, Change Dresser, Quality Cooldown, Better Workbench Management, Medical Training, Centralized Climate Control, Power Logic, MineItAll, Omni Core Drill A17, Quarry, Mines, MJ - MiniMap (A17), and Right Tool: Rebalanced

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

QualityBuilder added property to '130' things

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

Could not load reference to Verse.RecipeDef named Excavate_Plasteel

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

Exception in FinalizeLoading(): System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.Bill.GetUniqueLoadID () [0x00000] in <filename unknown>:0
  at Verse.LoadedObjectDirectory.RegisterLoaded (ILoadReferenceable reffable) [0x00000] in <filename unknown>:0
  at Verse.CrossRefHandler.ResolveAllCrossReferences () [0x00000] in <filename unknown>:0
  at Verse.ScribeLoader.FinalizeLoading () [0x00000] in <filename unknown>:0

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

Exception from asynchronous event: System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.Bill.GetUniqueLoadID () [0x00000] in <filename unknown>:0
  at Verse.LoadedObjectDirectory.RegisterLoaded (ILoadReferenceable reffable) [0x00000] in <filename unknown>:0
  at Verse.CrossRefHandler.ResolveAllCrossReferences () [0x00000] in <filename unknown>:0
  at Verse.ScribeLoader.FinalizeLoading () [0x00000] in <filename unknown>:0

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

Any help would be nice, I really dont want to loose it :(
Thanks!

zomb1

Turns out it is the "[A17] Mines - balanced mining" mod... it was not the latest version where the author fixed this issue..
But now that i know the problem.. how do I solve it.. is it possible to still use this save somehow with a removed/updated mod?

Could not load reference to Verse.ThingDef named Mineshaft

(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)

SaveableFromNode exception: System.NullReferenceException: Object reference not set to an instance of an object
  at Verse.Thing.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.ThingWithComps.ExposeData () [0x00000] in <filename unknown>:0
  at RimWorld.Building_WorkTable.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.ScribeExtractor.SaveableFromNode[Thing] (System.Xml.XmlNode subNode, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
Subnode:
<thing Class="Building_WorkTable"><def>Mineshaft</def><id>Mineshaft64016</id><map>0</map><pos>(128, 0, 133)</pos><health>80</health><stuff>WoodLog</stuff><faction>Faction_20</faction><billStack><bills><li Class="Bill_Production"><recipe>Excavate_Plasteel</recipe><allowedSkillRange>0~20</allowedSkillRange><ingredientFilter><disallowedSpecialFilters /><allowedDefs /><allowedHitPointsPercents>0~1</allowedHitPointsPercents><allowedQualityLevels>Awful~Legendary</allowedQualityLevels></ingredientFilter><repeatCount>1</repeatCount><targetCount>10</targetCount><repeatMode>RepeatCount</repeatMode><storeMode>BestStockpile</storeMode><unpauseWhenYouHave>5</unpauseWhenYouHave></li></bills></billStack></thing>

ziame

It is possible to rescue the save file. Most probably you have the bill somewhere that uses the nonexistent recipe.

1. Back Up your save file
2. open in notepad++
3. find : <bills><li Class="Bill_Production"><recipe>Excavate_Plasteel</recipe><allowedSkillRange>0~20</allowedSkillRange><ingredientFilter><disallowedSpecialFilters /><allowedDefs /><allowedHitPointsPercents>0~1</allowedHitPointsPercents><allowedQualityLevels>Awful~Legendary</allowedQualityLevels></ingredientFilter><repeatCount>1</repeatCount><targetCount>10</targetCount><repeatMode>RepeatCount</repeatMode><storeMode>BestStockpile</storeMode><unpauseWhenYouHave>5</unpauseWhenYouHave></li></bills>
4. replace with <bills/>

Should work after this :)