边缘世界 RimWorld

边缘世界 RimWorld

Semi Random Research
[The] Force 2022 年 8 月 30 日 上午 1:48
"System.NullReferenceException: Object reference not set to an instance of an object" error?!
So I saw a few people complaining about a bug that caused the research menu to only show one, unselectable research. This is the error thrown (repeatedly and constantly) for me rn while that's happening.

Exception filling window for CM_Semi_Random_Research.MainTabWindow_NextResearch: System.NullReferenceException: Object reference not set to an instance of an object
at Verse.ResearchProjectDef+<>c.<get_UnlockedDefs>b__57_2 (Verse.Def x) [0x00000] in <81af9f8a18324e17b286924a43555a7c>: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 () [0x0012c] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.ResearchPrerequisitesUtility.ComputeResearchPrerequisites () [0x0001a] in <81af9f8a18324e17b286924a43555a7c>:0
at RimWorld.ResearchPrerequisitesUtility.UnlockedDefsGroupedByPrerequisites (Verse.ResearchProjectDef rd) [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0
at CM_Semi_Random_Research.MainTabWindow_NextResearch.UnlockedDefsGroupedByPrerequisites (Verse.ResearchProjectDef project) [0x00031] in <2937a4c3c0604569bbc8d1733b3e957d>:0
at CM_Semi_Random_Research.MainTabWindow_NextResearch.GetFirstUnlockable (Verse.ResearchProjectDef project) [0x00001] in <2937a4c3c0604569bbc8d1733b3e957d>:0
at CM_Semi_Random_Research.MainTabWindow_NextResearch.DrawResearchButton (UnityEngine.Rect& drawRect, Verse.ResearchProjectDef projectDef) [0x0026f] in <2937a4c3c0604569bbc8d1733b3e957d>:0
at (wrapper dynamic-method) CM_Semi_Random_Research.MainTabWindow_NextResearch.CM_Semi_Random_Research.MainTabWindow_NextResearch.DrawLeftColumn_Patch0(CM_Semi_Random_Research.MainTabWindow_NextResearch,UnityEngine.Rect)
at CM_Semi_Random_Research.MainTabWindow_NextResearch.DoWindowContents (UnityEngine.Rect rect) [0x0006a] in <2937a4c3c0604569bbc8d1733b3e957d>:0
at (wrapper dynamic-method) Verse.Window.Verse.Window.InnerWindowOnGUI_Patch0(Verse.Window,int)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) Verse.Log:Verse.Log.Error_Patch2 (string)
(wrapper dynamic-method) Verse.Window:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

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_Patch2 (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)
< >
正在显示第 1 - 1 条,共 1 条留言
Mr. Chimmie 2022 年 9 月 20 日 上午 12:48 
yea, having the same issue... at first i thought it might be Rim73 or techblock/techadvancing, but ive gotten rid of those and hasnt changed anything.... might be rocketman... idk what else would be messing with how research is getting done
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50