RimWorld

RimWorld

AutoArm
Can't open mod settings
getting this error when trying to open the mod settings

Exception filling window for RimWorld.Dialog_ModSettings: System.MissingMethodException: UnityEngine.Rect Verse.Listing_Standard.Label(string,single,System.Nullable`1<Verse.TipSignal>)
[Ref C36AFB90] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (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)
< >
Showing 1-7 of 7 comments
Snues  [developer] 8 Jul @ 10:10am 
What version are you using? 1.5 or 1.6?
Snues  [developer] 8 Jul @ 10:12am 
The mod is calling "Listing_Standard.Label()" with parameters that don't exist in your rimworld version, my guess would be that you're using 1.3 or 1.4 but that might not be the case?
I'm getting this too, on 1.5. Additionally, the debug menu also fails to load while the mod is installed. This is my error log after trying to open Mod Settings and Debug Menu. Mod list is (in load order): Harmony, Core, Royalty, Ideology, AutoArm

RimWorld 1.5.4409 rev1120
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
RimWorld.VersionControl:LogVersionNumber ()
Verse.Root:CheckGlobalInit ()
Verse.Root:Start ()
Verse.Root_Entry:Start ()

[AutoArm] Initialized successfully. Think tree injection will happen after game load.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
AutoArm.AutoArmInit:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
Verse.Root:Update ()
Verse.Root_Entry:Update ()

<color=#4287f5>[AutoArm]</color> Weapons moved under Apparel category.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
AutoArm.WeaponTabInjector:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
Verse.Root:Update ()
Verse.Root_Entry:Update ()

<color=#4287f5>[AutoArm]</color> Found 31 ranged and 19 melee weapon definitions.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Message (string)
AutoArm.WeaponTabInjector:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_4 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
Verse.Root:Update ()
Verse.Root_Entry:Update ()

Exception filling window for RimWorld.Dialog_ModSettings: System.MissingMethodException: UnityEngine.Rect Verse.Listing_Standard.Label(string,single,System.Nullable`1<Verse.TipSignal>)
[Ref 82255127]
at RimWorld.Dialog_ModSettings.DoWindowContents (UnityEngine.Rect inRect) [0x00073] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <630e2863bc9a4a3493f2eff01e3a9556>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Exception filling window for RimWorld.Dialog_ModSettings: System.MissingMethodException: UnityEngine.Rect Verse.Listing_Standard.Label(string,single,System.Nullable`1<Verse.TipSignal>)
[Ref 82255127] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)

Exception filling window for Verse.ImmediateWindow: System.MissingMethodException: void LudeonTK.DebugActionAttribute..ctor(string,string,bool,bool,bool,bool,bool,int,bool)
[Ref 90A23B96]
at (wrapper managed-to-native) System.MonoCustomAttrs.GetCustomAttributesInternal(System.Reflection.ICustomAttributeProvider,System.Type,bool)
at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x00013] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00037] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MonoMethod.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.GenAttribute.TryGetAttribute[T] (System.Reflection.MemberInfo memberInfo, T& customAttribute) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at LudeonTK.DebugTabMenu_Actions.InitActions (LudeonTK.DebugActionNode absRoot) [0x00080] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at LudeonTK.Dialog_Debug.TrySetupNodeGraph () [0x00040] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at LudeonTK.Dialog_Debug.SwitchTab (RimWorld.DebugTabMenuDef def) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at <0x204bad82cc0 + 0x00142> <unknown method>
at Verse.DebugWindowsOpener.ToggleDebugActionsMenu () [0x00013] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.DebugWindowsOpener.DrawButtons () [0x000d4] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <630e2863bc9a4a3493f2eff01e3a9556>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
Snues  [developer] 11 Jul @ 12:14am 
Thank you I will work on this today. The 1.5 push was a little rushed. I started making the mod in 1.6.
Small note, this bug only seems to be happening in 1.5. After the 1.6 update, it loads both the settings and debug menus
Beau 12 Jul @ 3:16am 
Appreciate the effort and support of this mod! I am another one seeing this issue in 1.5, waiting to move to 1.6 when a few more of my vital mods are updated which I assume is also the case for other people still on 1.5.
Snues  [developer] 12 Jul @ 2:53pm 
Fixed with the latest update:steamhappy: Unsubscribe and resubscribe to push the update
< >
Showing 1-7 of 7 comments
Per page: 1530 50