RimWorld

RimWorld

Research Reinvented
1.6 bugs
Exception filling window for RimWorld.MainTabWindow_Menu: System.ArgumentNullException: Value cannot be null.
Parameter name: key
[Ref 367F151F]
[0x00006] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <51fded79cd284d4d911c5949aff4cb21>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at PeteTimesSix.ResearchReinvented_SteppingStones.Patches.MainTabWindow_Research_OffsetHack_X.ResearchViewX (System.Single& __result, Verse.ResearchProjectDef __instance) [0x0000f] in <905c30c9bb6543d6b5880d98e531ac87>:0
at Verse.ResearchProjectDef.get_ResearchViewX () [0x0000d] in <981a33edf24d499488b0f820d94638e1>:0
- POSTFIX PeteTimesSix.ResearchReinvented_SteppingStones: Void PeteTimesSix.ResearchReinvented_SteppingStones.Patches.MainTabWindow_Research_OffsetHack_X:ResearchViewX(Single& __result, ResearchProjectDef __instance)
at RimWorld.MainTabWindow_Research.PosX (Verse.ResearchProjectDef d) [0x00000] in <981a33edf24d499488b0f820d94638e1>:0
at RimWorld.MainTabWindow_Research.ViewSize (RimWorld.ResearchTabDef tab) [0x0007f] in <981a33edf24d499488b0f820d94638e1>:0
at RimWorld.MainTabWindow_Research.set_CurTab (RimWorld.ResearchTabDef value) [0x00018] in <981a33edf24d499488b0f820d94638e1>:0
at FluffyResearchTree.MainTabsRoot_ToggleTab.Postfix () [0x00016] in <ac8f827eb926440a9eab532f5e7c75d9>:0
at RimWorld.MainTabsRoot.ToggleTab (RimWorld.MainButtonDef newTab, System.Boolean playSound) [0x0010f] in <981a33edf24d499488b0f820d94638e1>:0
- PREFIX Fluffy.ResearchTree: Void FluffyResearchTree.MainTabsRoot_ToggleTab:Prefix(MainButtonDef& newTab)
- PREFIX Dubwise.DubsMintMenus: Void DubsMintMenus.HarmonyPatches+Patch_MainTabsRoot:Prefix(MainButtonDef& newTab)
- POSTFIX Fluffy.ResearchTree: Void FluffyResearchTree.MainTabsRoot_ToggleTab:Postfix()
- POSTFIX Troy_Alias.TacticalGroups: Void TacticalGroups.HarmonyPatches:EntriesDirty()
at RimWorld.MainTabsRoot.SetCurrentTab (RimWorld.MainButtonDef tab, System.Boolean playSound) [0x0000a] in <981a33edf24d499488b0f820d94638e1>:0
at RimWorld.MainTabsRoot.EscapeCurrentTab (System.Boolean playSound) [0x00000] in <981a33edf24d499488b0f820d94638e1>:0
at RimWorld.MainMenuDrawer.CloseMainTab () [0x0000d] in <981a33edf24d499488b0f820d94638e1>:0
at RimWorld.MainMenuDrawer+<>c.<DoMainMenuControls>b__24_3 () [0x00000] in <981a33edf24d499488b0f820d94638e1>:0
at Verse.ListableOption.DrawOption (UnityEngine.Vector2 pos, System.Single width) [0x00049] in <981a33edf24d499488b0f820d94638e1>:0
at Verse.OptionListingUtility.DrawOptionListing (UnityEngine.Rect rect, System.Collections.Generic.List`1[T] optList) [0x00099] in <981a33edf24d499488b0f820d94638e1>:0
- PREFIX Lauriichan.PriorityMaster: Void PriorityMod.PatchesV6.RestartPatches:OptionListingUtilPrefix(Rect rect, List`1 optList)
- PREFIX rimworld.aRandomKiwi.RimTheme: Boolean aRandomKiwi.RimThemes.DrawOptionListing_Patch:Prefix(Single& __result)
- PREFIX rimworld.randomKiwi.FFM: Boolean aRandomKiwi.ARS.OptionListingUtility_Patch:Listener(Rect rect, List`1 optList)
at RimWorld.MainMenuDrawer.DoMainMenuControls (UnityEngine.Rect rect, System.Boolean anyMapFiles) [0x00591] in <981a33edf24d499488b0f820d94638e1>:0
- TRANSPILER UnlimitedHugs.HugsLib: IEnumerable`1 HugsLib.Patches.MainMenuDrawer_Quickstart_Patch:QuicktestButtonUsesQuickstarter(IEnumerable`1 instructions)
- PREFIX Lauriichan.PriorityMaster: Void PriorityMod.PatchesV6.RestartPatches:MainControlsPrefix(Rect& rect)
- POSTFIX Lauriichan.PriorityMaster: Void PriorityMod.PatchesV6.RestartPatches:MainControlsPostfix(Rect& rect)
- POSTFIX rimworld.aRandomKiwi.RimTheme: Void aRandomKiwi.RimThemes.DoMainMenuControls_Patch:Postfix(Rect rect, Boolean anyMapFiles)
at RimWorld.MainTabWindow_Menu.DoWindowContents (UnityEngine.Rect rect) [0x00000] in <981a33edf24d499488b0f820d94638e1>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <981a33edf24d499488b0f820d94638e1>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

when first time open tab research , in modlist i have research tree (continued) and stepping stones.
< >
Showing 1-2 of 2 comments
Darkstar 26 Aug @ 11:58pm 
The new vehicle framework that came out today throws the following exception in Research Reinvented after clicking the Next button after choosing a scenario (Neolithic, but I'm not sure it matters).

System.NullReferenceException: Object reference not set to an instance of an object
[Ref 70B053C0]
at Verse.Find.get_WorldInterface () [0x00005] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.Find.get_TilePicker () [0x00000] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.TickManager.get_ForcePaused () [0x0001a] in <cb53cd4422904947932d33f561ad8d15>:0
at Verse.TickManager.get_Paused () [0x00011] in <cb53cd4422904947932d33f561ad8d15>:0
- POSTFIX SmashPhil.VehicleFramework: Void Vehicles.Patch_Misc:PausedFromVehicles(Boolean& __result)
at PeteTimesSix.ResearchReinvented.Managers.ResearchOpportunityManager.GameComponentUpdate () [0x00006] in C:\RimworldProjects\ResearchReinvented\ResearchReinvented\ResearchReinvented\ResearchReinvented\Source\Managers\ResearchOpportunityManager.cs:90
at Verse.GameComponentUtility.GameComponentUpdate () [0x00017] in <cb53cd4422904947932d33f561ad8d15>:0

Not sure if it's an issue with this mod or that one, but I figured I'd report it here, since the line is from your file :)
Last edited by Darkstar; 26 Aug @ 11:59pm
prototypes aren't working for me, the only error for this mod I could find was this:
RR: Frame_CompleteConstruction_Patches - TranspilerSpawn - failed to apply patch (instructions not found, stage 1)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Warning (string)
PeteTimesSix.ResearchReinvented.HarmonyPatches.Prototypes.Frame_CompleteConstruction_Patches:TranspilerSpawn (System.Collections.Generic.IEnumerable`1<HarmonyLib.CodeInstruction>,object) (at C:/RimworldProjects/ResearchReinvented/ResearchReinvented/ResearchReinvented/ResearchReinvented/Source/HarmonyPatches/Prototypes/Frame_CompleteConstruction_Patches.cs:148)
PeteTimesSix.ResearchReinvented.HarmonyPatches.Prototypes.Frame_CompleteConstruction_Patches:FullTranspiler (System.Collections.Generic.IEnumerable`1<HarmonyLib.CodeInstruction>) (at C:/RimworldProjects/ResearchReinvented/ResearchReinvented/ResearchReinvented/ResearchReinvented/Source/HarmonyPatches/Prototypes/Frame_CompleteConstruction_Patches.cs:35)
System.Reflection.RuntimeMethodInfo:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.MethodBase:Invoke (object,object[])
HarmonyLib.CodeTranspiler/<>c__DisplayClass11_0:<GetResult>b__0 (System.Reflection.MethodInfo)
System.Collections.Generic.List`1<System.Reflection.MethodInfo>:ForEach (System.Action`1<System.Reflection.MethodInfo>)
HarmonyLib.CodeTranspiler:GetResult (System.Reflection.Emit.ILGenerator,System.Reflection.MethodBase)
HarmonyLib.MethodBodyReader:FinalizeILCodes (System.Collections.Generic.List`1<System.Reflection.MethodInfo>,bool,bool&,bool&,System.Collections.Generic.List`1<System.Reflection.Emit.Label>)
HarmonyLib.MethodCopier:Finalize (bool,bool&,bool&,System.Collections.Generic.List`1<System.Reflection.Emit.Label>)
HarmonyLib.MethodCreator:CreateReplacement ()
HarmonyLib.PatchFunctions:UpdateWrapper (System.Reflection.MethodBase,HarmonyLib.PatchInfo)
HarmonyLib.PatchClassProcessor:ProcessPatchJob (HarmonyLib.PatchJobs`1/Job<System.Reflection.MethodInfo>)
HarmonyLib.PatchClassProcessor:PatchWithAttributes (System.Reflection.MethodBase&,bool)
HarmonyLib.PatchClassProcessor:Patch ()
HarmonyLib.Harmony:<PatchAll>b__10_1 (System.Type)
HarmonyLib.CollectionExtensions:Do<System.Type> (System.Collections.Generic.IEnumerable`1<System.Type>,System.Action`1<System.Type>)
HarmonyLib.CollectionExtensions:DoIf<System.Type> (System.Collections.Generic.IEnumerable`1<System.Type>,System.Func`2<System.Type, bool>,System.Action`1<System.Type>)
HarmonyLib.Harmony:PatchAll (System.Reflection.Assembly)
HarmonyLib.Harmony:PatchAll ()
PeteTimesSix.ResearchReinvented.ResearchReinventedMod:.ctor (Verse.ModContentPack) (at C:/RimworldProjects/ResearchReinvented/ResearchReinvented/ResearchReinvented/ResearchReinvented/Source/ResearchReinventedMod.cs:37)
System.Reflection.RuntimeConstructorInfo:InternalInvoke (object,object[],bool)
System.Reflection.RuntimeConstructorInfo:DoInvoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.Reflection.RuntimeConstructorInfo:Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
System.RuntimeType:CreateInstanceImpl (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[],System.Threading.StackCrawlMark&)
System.Activator:CreateInstance (System.Type,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo,object[])
System.Activator:CreateInstance (System.Type,object[])
Verse.LoadedModManager:CreateModClasses ()
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()

hope this makes fixing the issue easier [|87
< >
Showing 1-2 of 2 comments
Per page: 1530 50