RimWorld

RimWorld

Numbers
Nile 19 Sep, 2023 @ 4:15pm
Numbers Tab failing to show data
Hey Mehni,

Firstly, I absolutely love the numbers mod. It's in my list of must haves for any play through. I really appreciate all of your hard work.

I've recently been having an issue with the Numbers tab though. Randomly, throughout most of my games, the numbers tab will just stop showing data. Most often the tab reduces itself to a small sliver on the left side of my screen. Other times it just shows a giant empty tab. I'm fairly certain that the issue is Numbers itself. If I have Numbers taking over the Wildlife and Animals tabs they stop working at the same time as well. Removing those mod options allows those two to start working again. Whenever I have devmode on and open the tab when it's not working correctly it fills the log until the logger discontinues with the following code:

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.Func`2[T,TResult] validator) [0x0000c] in <9ff61b29a7ab468ba28486fbf1f24cff>:0
at System.Linq.Enumerable.All[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[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.IEnumerable`1[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 ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Not certain what I did to cause the issue. Here is a link to the Hugslib log upload.
Hugslib Log[gist.github.com]

Thanks for your help,
Nile
< >
Showing 1-1 of 1 comments
< >
Showing 1-1 of 1 comments
Per page: 1530 50