-
Notifications
You must be signed in to change notification settings - Fork 10
Description
When i turn on dev-mode button, it spams red errors:
message.txt
Exception filling window for Verse.ImmediateWindow: System.TypeInitializationException: The type initializer for 'PawnEditor.TexPawnEditor' threw an exception. ---> System.ArgumentNullException: Value cannot be null.
Parameter name: key
[Ref 6488E30C]
at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in :0
at Verse.ModContentHolder1[T].Get (System.String path) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0 at Verse.ContentFinder1[T].Get (System.String itemPath, System.Boolean reportFailure) [0x00065] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.Graphic_Multi.Init (Verse.GraphicRequest req) [0x0011f] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.GraphicDatabase.GetInner[T] (Verse.GraphicRequest req) [0x000a5] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.GraphicDatabase.Get[T] (System.String path, UnityEngine.Shader shader, UnityEngine.Vector2 drawSize, UnityEngine.Color color) [0x0001c] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at PawnEditor.TexPawnEditor+<>c__DisplayClass14_0.<.cctor>b__1 (RimWorld.BodyTypeDef def) [0x00016] in <944f30e48c624ec18df83e3d3bb66dd1>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.List1[T] source, System.Func2[T,TResult] keySelector, System.Func2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer1[T] comparer) [0x00026] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Func2[T,TResult] elementSelector, System.Collections.Generic.IEqualityComparer1[T] comparer) [0x00066] in <351e49e2a5bf4fd6beabb458ce2255f3>:0
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[T,TResult] keySelector, System.Func2[T,TResult] elementSelector) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at <0x1b20c7120c0 + 0x00772> <unknown method> --- End of inner exception stack trace --- [Ref C440E4D2] at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr) at Verse.DebugWindowsOpener.DrawButtons () [0x00273] in <630e2863bc9a4a3493f2eff01e3a9556>:0 - TRANSPILER UnlimitedHugs.HugsLib: IEnumerable1 HugsLib.Patches.DebugWindowsOpener_Patch:DrawAdditionalButtons(IEnumerable1 instructions) - TRANSPILER OskarPotocki.VFECore: IEnumerable1 VFECore.DebugWindowsOpener_DrawButtons_Patch:Transpiler(IEnumerable1 instructions) - TRANSPILER Neronix17.TabulaRasa.RimWorld: IEnumerable1 TabulaRasa.Patch_DebugWindowsOpener_DrawButtons:Transpiler(IEnumerable1 instructions) - TRANSPILER legodude17.pawneditor: IEnumerable1 PawnEditor.PawnEditorMod:AddDevButton(IEnumerable1 instructions, ILGenerator generator) - PREFIX GonDragon.UINotIncluded: Boolean UINotIncluded.Patches.DebugWindowsOpener_Patch:Prefix(WidgetRow ___widgetRow) - POSTFIX GonDragon.UINotIncluded: Void UINotIncluded.Patches.DebugWindowsOpener_Patch:Postfix(WidgetRow ___widgetRow) at RocketMan.DebugWindowsOpener_Patch+<>c__DisplayClass3_0.<Postfix>b__0 () [0x00000] in <949351c33af947369af199f234821cd7>:0 at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <630e2863bc9a4a3493f2eff01e3a9556>:0 - TRANSPILER Uuugggg.rimworld.TDS_Bug_Fixes.main: IEnumerable1 TDS_Bug_Fixes.FixWindowDragInsteadOfReorderable:Transpiler(IEnumerable`1 instructions)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch4 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Window.InnerWindowOnGUI_Patch0 (Verse.Window,int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)