RimWorld

RimWorld

Scenario Editor UI Overhaul
When i try to open list of objects
Exception filling window for ScenarioEditorUIOverhaul.windows.ItemSelectionWindow: System.ArgumentNullException: Value cannot be null.
Parameter name: key
[Ref 979B1EBC]
[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].ContainsKey (TKey key) [0x00000] in <51fded79cd284d4d911c5949aff4cb21>:0
at ScenarioEditorUIOverhaul.windows.ItemSelectionWindow.PrepareData () [0x000e3] in E:\SteamLibrary\steamapps\common\RimWorld\Mods\ScenarioEditorUIOverhaul\Source\ScenarioEditorUIOverhaul\windows\ItemSelectionWindow.cs:26
at ScenarioEditorUIOverhaul.windows.GenericTabbedAndSearchableSelectionWindow.Init () [0x00000] in E:\SteamLibrary\steamapps\common\RimWorld\Mods\ScenarioEditorUIOverhaul\Source\ScenarioEditorUIOverhaul\windows\GenericTabbedAndSearchableSelectionWindow.cs:49
at ScenarioEditorUIOverhaul.windows.GenericTabbedAndSearchableSelectionWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00008] in E:\SteamLibrary\steamapps\common\RimWorld\Mods\ScenarioEditorUIOverhaul\Source\ScenarioEditorUIOverhaul\windows\GenericTabbedAndSearchableSelectionWindow.cs:59
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <cb53cd4422904947932d33f561ad8d15>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.UnityEngine.StackTraceUtility.ExtractStackTrace_Patch1()
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Log.Error_Patch4(System.String)
[Harmony, 0Harmony.dll] MonoMod.Utils.DynamicMethodDefinition.Verse.Window.InnerWindowOnGUI_Patch1(Verse.Window, System.Int32)
[System, UnityEngine.IMGUIModule.dll] UnityEngine.GUI.CallWindowDelegate(UnityEngine.GUI+WindowFunction func, System.Int32 id, System.Int32 instanceID, UnityEngine.GUISkin _skin, System.Int32 forceRect, System.Single width, System.Single height, UnityEngine.GUIStyle style)
< >
Showing 1-1 of 1 comments
soeur  [developer] Aug 24 @ 7:51am 
I couldn't reproduce it, but I added an extra null pointer check at the error location and wonder if that fixed it.
< >
Showing 1-1 of 1 comments
Per page: 1530 50