RimWorld

RimWorld

SeedsPlease: Lite
Starman 10 Jul, 2023 @ 12:00am
Research menu broken
Hello. This mod cause spamming error when i open research menu and click on any research.
"Mints Menu" research menu work fine.

Error from log:

Exception filling window for RimWorld.MainTabWindow_Research: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.ResearchProjectDef+<>c.<get_UnlockedDefs>b__67_2 (Verse.Def x) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at System.Linq.EnumerableSorter`2[TElement,TKey].ComputeKeys (TElement[] elements, System.Int32 count) [0x00010] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.EnumerableSorter`1[TElement].ComputeMap (TElement[] elements, System.Int32 count) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.EnumerableSorter`1[TElement].Sort (TElement[] elements, System.Int32 count) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.OrderedEnumerable`1[TElement].SortedMap (System.Linq.Buffer`1[TElement] buffer) [0x00006] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.OrderedEnumerable`1+<GetEnumerator>d__3[TElement].MoveNext () [0x0003d] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable+ConcatIterator`1[TSource].MoveNext () [0x0002b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Set`1[TElement].UnionWith (System.Collections.Generic.IEnumerable`1[T] other) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable+DistinctIterator`1[TSource].FillSet () [0x0000b] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable+DistinctIterator`1[TSource].ToList () [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at Verse.ResearchProjectDef.get_UnlockedDefs () [0x0016b] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.ResearchPrerequisitesUtility.ComputeResearchPrerequisites () [0x0001a] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.ResearchPrerequisitesUtility.UnlockedDefsGroupedByPrerequisites (Verse.ResearchProjectDef rd) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.MainTabWindow_Research.UnlockedDefsGroupedByPrerequisites (Verse.ResearchProjectDef project) [0x00023] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.MainTabWindow_Research.DrawUnlockableHyperlinks (UnityEngine.Rect rect, Verse.ResearchProjectDef project) [0x00000] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.MainTabWindow_Research.DrawLeftRect (UnityEngine.Rect leftOutRect) [0x0030b] in <95de19971c5d40878d8742747904cdcd>:0
at RimWorld.MainTabWindow_Research.DoWindowContents (UnityEngine.Rect inRect) [0x000b5] in <95de19971c5d40878d8742747904cdcd>: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)

And:

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch4 (string)
Verse.Widgets:EnsureMousePositionStackEmpty ()
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
(wrapper dynamic-method) Verse.Root_Play:Verse.Root_Play.Update_Patch1 (Verse.Root_Play)

What other information can I provide to help resolve the issue?