Can't save the game: Object reference not set to and instance of an object

Started by marvin__, September 24, 2016, 03:53:59 PM

Previous topic - Next topic

marvin__

This error seems to happen at random and I can't get a real reason for it, since the error log. It says something about a 'filename unknow'?! But what? Also something about tradertracker? I searched a bit and it seems I'm the only one with this error.
Here's the complete log:

Exception while saving map: System.NullReferenceException: Object reference not set to an instance of an object
  at RimWorld.Pawn_TraderTracker.<ExposeData>m__276 (Verse.Pawn x) [0x00000] in <filename unknown>:0
  at System.Collections.Generic.List`1[Verse.Pawn].RemoveAll (System.Predicate`1 match) [0x00000] in <filename unknown>:0
  at RimWorld.Pawn_TraderTracker.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[Pawn_TraderTracker] (RimWorld.Pawn_TraderTracker& target, Boolean saveDestroyedThings, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[Pawn_TraderTracker] (RimWorld.Pawn_TraderTracker& target, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Pawn.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[Pawn] (Verse.Pawn& target, Boolean saveDestroyedThings, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Collections.LookList[Pawn] (System.Collections.Generic.List`1& list, Boolean saveDestroyedThings, System.String label, LookMode lookMode, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Collections.LookHashSet[Pawn] (System.Collections.Generic.HashSet`1& valueHashSet, Boolean saveDestroyedThings, System.String label, LookMode lookMode) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Collections.LookHashSet[Pawn] (System.Collections.Generic.HashSet`1& valueHashSet, System.String label, LookMode lookMode) [0x00000] in <filename unknown>:0
  at RimWorld.Planet.WorldPawns.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[WorldPawns] (RimWorld.Planet.WorldPawns& target, Boolean saveDestroyedThings, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[WorldPawns] (RimWorld.Planet.WorldPawns& target, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at RimWorld.Planet.World.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[World] (RimWorld.Planet.World& target, Boolean saveDestroyedThings, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[World] (RimWorld.Planet.World& target, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Game.ExposeData () [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[Game] (Verse.Game& target, Boolean saveDestroyedThings, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.Scribe_Deep.LookDeep[Game] (Verse.Game& target, System.String label, System.Object[] ctorArgs) [0x00000] in <filename unknown>:0
  at Verse.GameDataSaveLoader.<SaveGame>m__893 () [0x00000] in <filename unknown>:0
  at Verse.SafeSaver.DoSave (System.String fullPath, System.String documentElementName, System.Action saveAction) [0x00000] in <filename unknown>:0

skullywag

do you have any mods loaded? If you dont ill move this to the proper bug forum.
Skullywag modded to death.
I'd never met an iterator I liked....until Zhentar saved me.
Why Unity5, WHY do you forsake me?

marvin__

Quote from: skullywag on September 30, 2016, 04:07:17 PM
do you have any mods loaded? If you dont ill move this to the proper bug forum.

I do and I found out what it was, it was Hospitality causing that, so you can close this.