RimWorld

RimWorld

Humanoid Alien Races
This topic has been locked
TrahsPanda Mar 12, 2020 @ 11:38am
Bug - Research Tab won't open.
The only mods I have active are Harmony, Core, Royalty, Humanoid Alien Races 2.0, and Android Tiers and it still produces the error below. Any help?


Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object
at AlienRace.HarmonyPatches+<>c__DisplayClass68_0.<ResearchFixed>b__1 (AlienRace.ThingDef_AlienRace ar) [0x00000] in <f467274ee6dd4d739f3dde224a1bd725>:0
at System.Collections.Generic.List`1[T].FindIndex (System.Int32 startIndex, System.Int32 count, System.Predicate`1[T] match) [0x0003b] in <567df3e0919241ba98db88bec4c6696f>:0
at System.Collections.Generic.List`1[T].FindIndex (System.Predicate`1[T] match) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
at Verse.GenCollection.Any[T] (System.Collections.Generic.List`1[T] list, System.Predicate`1[T] predicate) [0x00000] in <4e802577611b487897b01fd812711839>:0
at AlienRace.HarmonyPatches+<>c.<ResearchFixed>b__68_0 (Verse.ResearchProjectDef prj) [0x00012] in <f467274ee6dd4d739f3dde224a1bd725>:0
at System.Linq.Enumerable+WhereListIterator`1[TSource].ToList () [0x00017] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at AlienRace.HarmonyPatches.ResearchFixed (System.Collections.Generic.List`1[T] researchList) [0x00025] in <f467274ee6dd4d739f3dde224a1bd725>:0
at (wrapper dynamic-method) RimWorld.MainTabWindow_Research.DMD<DMD<ViewSize_Patch0>?-389633152::ViewSize_Patch0>(RimWorld.MainTabWindow_Research,RimWorld.ResearchTabDef)
at RimWorld.MainTabWindow_Research.<get_InitialSize>b__36_0 (RimWorld.ResearchTabDef tab) [0x00000] in <4e802577611b487897b01fd812711839>:0
at System.Linq.Enumerable.Max[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) [0x00038] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at RimWorld.MainTabWindow_Research.get_InitialSize () [0x0002e] in <4e802577611b487897b01fd812711839>:0
at Verse.Window.SetInitialSizeAndPosition () [0x00000] in <4e802577611b487897b01fd812711839>:0
at RimWorld.MainTabWindow.SetInitialSizeAndPosition () [0x00000] in <4e802577611b487897b01fd812711839>:0
at Verse.Window.PreOpen () [0x00000] in <4e802577611b487897b01fd812711839>:0
at RimWorld.MainTabWindow_Research.PreOpen () [0x00000] in <4e802577611b487897b01fd812711839>:0
at Verse.WindowStack.Add (Verse.Window window) [0x0001f] in <4e802577611b487897b01fd812711839>:0
at (wrapper dynamic-method) RimWorld.MainTabsRoot.DMD<DMD<ToggleTab_Patch1>?60919424::ToggleTab_Patch1>(RimWorld.MainTabsRoot,RimWorld.MainButtonDef,bool)
at RimWorld.MainButtonWorker_ToggleTab.Activate () [0x00005] in <4e802577611b487897b01fd812711839>:0
at RimWorld.MainButtonWorker.InterfaceTryActivate () [0x0004d] in <4e802577611b487897b01fd812711839>:0
at RimWorld.MainButtonWorker.DoButton (UnityEngine.Rect rect) [0x000e3] in <4e802577611b487897b01fd812711839>:0
at RimWorld.MainButtonsRoot.DoButtons () [0x0010c] in <4e802577611b487897b01fd812711839>:0
at (wrapper dynamic-method) RimWorld.MainButtonsRoot.DMD<DMD<MainButtonsOnGUI_Patch1>?1990632448::MainButtonsOnGUI_Patch1>(RimWorld.MainButtonsRoot)
at RimWorld.UIRoot_Play.UIRootOnGUI () [0x00037] in <4e802577611b487897b01fd812711839>:0
at Verse.Root.OnGUI () [0x0003d] in <4e802577611b487897b01fd812711839>:0
Verse.Log:Error(String, Boolean)
Verse.Root:OnGUI()
< >
Showing 1-2 of 2 comments
TrahsPanda Mar 12, 2020 @ 11:58am 
Current load order is now Core, Royalty, HAR. Same error.
TrahsPanda Mar 12, 2020 @ 1:39pm 
I installed this version of the mod locally and it works now, so... pog.
https://github.com/RimWorld-CCL-Reborn/AlienRaces
< >
Showing 1-2 of 2 comments
Per page: 1530 50