fluffy-mods / ColonyManager

Colony manager for RimWorld
Other
72 stars 38 forks source link

Empty Hunting Tab #90

Closed RenaudF closed 6 years ago

RenaudF commented 7 years ago

See: image

I get the following log errors:

System.NullReferenceException: Object reference not set to an instance of an object
  at FluffyManager.ManagerJob_Hunting.<get_Corpses>b__14_1 (Verse.Corpse thing) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[Verse.Corpse].MoveNext () [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[Verse.Corpse].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[Verse.Corpse]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToList[Corpse] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at FluffyManager.ManagerJob_Hunting.get_Corpses () [0x00000] in <filename unknown>:0 
  at FluffyManager.ManagerJob_Hunting.GetMeatInCorpses () [0x00000] in <filename unknown>:0 
  at FluffyManager.ManagerJob_Hunting.Tick () [0x00000] in <filename unknown>:0 
  at FluffyManager.Manager.MapComponentTick () [0x00000] in <filename unknown>:0 
  at Verse.MapComponentUtility.MapComponentTick (Verse.Map map) [0x00000] in <filename unknown>:0 
Verse.Log:Error(String)
Verse.MapComponentUtility:MapComponentTick(Map)
Verse.Map:MapPostTick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate_Patch0(Object)
Verse.Game:UpdatePlay()
Verse.Root_Play:Update()

and

Exception filling window for FluffyManager.MainTabWindow_Manager: System.NullReferenceException: Object reference not set to an instance of an object
  at FluffyManager.ManagerJob_Hunting.<get_Corpses>b__14_1 (Verse.Corpse thing) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[Verse.Corpse].MoveNext () [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[Verse.Corpse].AddEnumerable (IEnumerable`1 enumerable) [0x00000] in <filename unknown>:0 
  at System.Collections.Generic.List`1[Verse.Corpse]..ctor (IEnumerable`1 collection) [0x00000] in <filename unknown>:0 
  at System.Linq.Enumerable.ToList[Corpse] (IEnumerable`1 source) [0x00000] in <filename unknown>:0 
  at FluffyManager.ManagerJob_Hunting.get_Corpses () [0x00000] in <filename unknown>:0 
  at FluffyManager.ManagerJob_Hunting.GetMeatInCorpses () [0x00000] in <filename unknown>:0 
  at FluffyManager.ManagerTab_Hunting.DoContent (Rect rect) [0x00000] in <filename unknown>:0 
  at FluffyManager.ManagerTab_Hunting.DoWindowContents (Rect canvas) [0x00000] in <filename unknown>:0 
  at FluffyManager.MainTabWindow_Manager.DoWindowContents (Rect canvas) [0x00000] in <filename unknown>:0 
  at Verse.Window+<WindowOnGUI>c__AnonStorey2C5.<>m__1B1 (Int32 x) [0x00000] in <filename unknown>:0 
Verse.Log:Error(String)
Verse.<WindowOnGUI>c__AnonStorey2C5:<>m__1B1(Int32)
UnityEngine.GUI:CallWindowDelegate(WindowFunction, Int32, GUISkin, Int32, Single, Single, GUIStyle)