边缘世界 RimWorld

边缘世界 RimWorld

Scenario Editor UI Overhaul
veoba 8 月 18 日 下午 2:17
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)
< >
正在显示第 1 - 1 条,共 1 条留言
soeur  [开发者] 8 月 24 日 上午 7:51 
I couldn't reproduce it, but I added an extra null pointer check at the error location and wonder if that fixed it.
< >
正在显示第 1 - 1 条,共 1 条留言
每页显示数: 1530 50