Error Log Spam when clicking Numbers tab
Sometimes Numbers works fine. Sometimes when I click Numbers this is spammed continuously until I click Numbers again. When it errors, the numbers window doesn't appear at all.
When I got this error log, the Wildlife tab worked fine. Sometimes it's the other way around, sometimes both work and sometimes neither work.
I don't know enough about deciphering logs to see of this is a bug in Numbers, or an issue caused by another mod that is manifesting itself when Numbers is called.
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at Numbers.WorldComponent_Numbers+<>c.<.cctor>b__8_0 (Verse.Pawn pawn) [0x00000] in <9ff61b29a7ab468ba28486fbf1f24cff>:0
at Numbers.MainTabWindow_Numbers+<>c__DisplayClass24_0.<get_Pawns>b__0 (System.Func2[T,TResult] validator) [0x0000c] in <9ff61b29a7ab468ba28486fbf1f24cff>:0 at System.Linq.Enumerable.All[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x0002c] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Numbers.MainTabWindow_Numbers+<get_Pawns>d__24.MoveNext () [0x0006a] in <9ff61b29a7ab468ba28486fbf1f24cff>:0 at System.Collections.Generic.List1[T].InsertRange (System.Int32 index, System.Collections.Generic.IEnumerable1[T] collection) [0x000db] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.List1[T].AddRange (System.Collections.Generic.IEnumerable`1[T] collection) [0x00000] in
Exception filling window for Numbers.MainTabWindow_Numbers: System.NullReferenceException: Object reference not set to an instance of an object
at Numbers.WorldComponent_Numbers+<>c.<.cctor>b__8_0 (Verse.Pawn pawn) [0x00000] in <9ff61b29a7ab468ba28486fbf1f24cff>:0
at Numbers.MainTabWindow_Numbers+<>c__DisplayClass24_0.<get_Pawns>b__0 (System.Func2[T,TResult] validator) [0x0000c] in <9ff61b29a7ab468ba28486fbf1f24cff>:0 at System.Linq.Enumerable.All[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] predicate) [0x0002c] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Numbers.MainTabWindow_Numbers+<get_Pawns>d__24.MoveNext () [0x0006a] in <9ff61b29a7ab468ba28486fbf1f24cff>:0 at System.Linq.Enumerable.Count[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00052] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Numbers.MainTabWindow_Numbers.DoWindowContents (UnityEngine.Rect rect) [0x00044] in <9ff61b29a7ab468ba28486fbf1f24cff>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <95de19971c5d40878d8742747904cdcd>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)