Weapons go missing when the game is being saved...?

Started by gabe_o_verse, February 15, 2020, 12:01:19 PM

Previous topic - Next topic

gabe_o_verse

Hey Guys

I have a really weird bug when playing rimworld. I installed some mods (mostly from a pre-build modlist, I can't find anymore unfortunately) and since then, every time I reload a save, all Guns seem to be disappearing. Here is the error log:


Exception ticking DropPodIncoming7428 (at (128, 0, 112)): System.NullReferenceException: Object reference not set to an instance of an object
at AbilityUser.AbilityUserMod.Notify_ApparelAdded_PostFix (RimWorld.Pawn_ApparelTracker,RimWorld.Apparel) <0x0004d>
at (wrapper dynamic-method) RimWorld.Pawn_ApparelTracker.Notify_ApparelAdded_Patch1 (object,RimWorld.Apparel) <0x00054>
at VisiblePants.Patch_Pawn/Patch_Tick.Postfix (Verse.Pawn) <0x000b6>
at (wrapper dynamic-method) Verse.Pawn.Tick_Patch2 (object) <0x00581>
at Verse.ThingOwner.ThingOwnerTick (bool) <0x00073>
at RimWorld.ActiveDropPod.Tick () <0x0003c>
at Verse.ThingOwner.ThingOwnerTick (bool) <0x00073>
at RimWorld.Skyfaller.Tick () <0x0002e>
at Verse.TickList.Tick () <0x00487>

Verse.Log:Error(String, Boolean)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

Could not load reference to Verse.ThingDef named Gun_Revolver
Verse.Log:Error(String, Boolean)
Verse.ScribeExtractor:DefFromNode(XmlNode)
Verse.Scribe_Defs:Look(ThingDef&, String)
RimWorld.ScenPart_ThingCount:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Collections:Look(List`1&, Boolean, String, LookMode, Object[])
Verse.Scribe_Collections:Look(List`1&, String, LookMode, Object[])
RimWorld.Scenario:ExposeData()
Verse.ScribeExtractor:SaveableFromNode(XmlNode, Object[])
Verse.Scribe_Deep:Look(Scenario&, Boolean, String, Object[])
Verse.Scribe_Deep:Look(Scenario&, String, Object[])
Verse.Game:ExposeSmallComponents()
Verse.Game:LoadGame()
Verse.SavedGameLoaderNow:LoadGameFromSaveFileNow_Patch2(String)
Verse.Root_Play:<Start>m__0()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()



If you want to see my whole log, here's the github-upload:
https://gist.github.com/HugsLibRecordKeeper/a5cff618f48829928744d21d0bdba404

And here's my modlist:
https://steamcommunity.com/id/theswissgabe/myworkshopfiles/?appid=294100&browsefilter=mysubscriptions

I already was able to disable mods that throw errors on startup by manually disabling and enabling every goddam mod (that already took like 2 hours^^), but the error still comes up ingame.
Do you know what could be the issue?

Thanks for your help.

Cheers,

Canute

#1
QuoteCould not load reference to Verse.ThingDef named Gun_Revolver
Are all weapons that are lost modern weapons ?
Then i think it is because you use Lord of the Rims - The Third Age, which remove them.

I got a similar thing at my last playthrough with Thirde age, some raider's droped medicin, but basicly medicin shouldn't be there anymore.
The pawn's used them but i couldn't store them anymore at a stockpile.

Basicly you should overthink your modlist when you want to use Lord of the Rims - The Third Age, many of your mods are pointless.

Your steam link is for steam user only.
And you should check link you post self. The hugslib logfile include your modlist too.


gabe_o_verse

Yes, only Guns are affected.

Okay, you're right: Lord of the Rims was the issue...I hoped that I could still play "normal" playthroughs when I'm not selecting lord of the rims...