RimWorld

RimWorld

Arcane Technology
Dizzy Ioeuy 23 Jul, 2021 @ 6:56pm
error when opening dev debug menus
Exception filling window for Verse.ImmediateWindow: System.TypeLoadException: Could not resolve type with token 01000037 (from typeref, class/assembly SimpleSidearms.rimworld.ThingDefStuffDefPair, SimpleSidearms, Version=1.4.5.0, Culture=neutral, PublicKeyToken=null)
at (wrapper managed-to-native) System.Reflection.MonoMethodInfo.get_method_info(intptr,System.Reflection.MonoMethodInfo&)
at System.Reflection.MonoMethodInfo.GetMethodInfo (System.IntPtr handle) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Reflection.MonoMethod.GetPseudoCustomAttributes () [0x00002] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.MonoCustomAttrs.GetPseudoCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType) [0x0000a] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x0001f] 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 <8635f093b2f0475ea4905af5122cb24b>:0
at Verse.Dialog_DebugActionsMenu..ctor () [0x0003e] in <8635f093b2f0475ea4905af5122cb24b>:0
at Verse.DebugWindowsOpener.ToggleDebugActionsMenu () [0x0001c] in <8635f093b2f0475ea4905af5122cb24b>:0
at (wrapper dynamic-method) Verse.DebugWindowsOpener.Verse.DebugWindowsOpener.DrawButtons_Patch0(Verse.DebugWindowsOpener)
at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <8635f093b2f0475ea4905af5122cb24b>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001ce] in <8635f093b2f0475ea4905af5122cb24b>: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)
< >
Showing 1-11 of 11 comments
Dizzy Ioeuy 23 Jul, 2021 @ 6:57pm 
[Mod list length: 7]
Harmony [https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2009463077]
BetterLoading [https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1999454301]
Core [https:// no link (local mod)]
Royalty [Official DLC] [https:// no link (local mod)]
Ideology [Official DLC] [https:// no link (local mod)]
HugsLib [https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=818773962]
[D] Arcane Technology [https:// no link (local mod)]
GwinnBleidd  [developer] 23 Jul, 2021 @ 7:11pm 
@Dizzy Ioeuy I clicked through all debug buttons when in-game but i couldn't reproduce the error. Can you unsubscribe and resubscribe please and check if the error persists. (I pushed a patch for SimpleSidearms but it may not be properly propagated, since the original mod didn't have a manifest file).
What other 3 mods do you use? (your mod list was cut short) .
GwinnBleidd  [developer] 23 Jul, 2021 @ 7:12pm 
nevermind mod questions, I didn't notice the other 3 were core and DLCs
Dizzy Ioeuy 23 Jul, 2021 @ 7:13pm 
Ok, i'll resubcribe
Dizzy Ioeuy 23 Jul, 2021 @ 7:17pm 
Same error after unsub/sub

mods loaded are:
[Mod list length: 7]
Harmony
BetterLoading
Core
Royalty
Ideology
HugsLib
[D] Arcane Technology
Dizzy Ioeuy 23 Jul, 2021 @ 7:18pm 
with dev mode when you try to click the menu to, say, spawn a pawn or start a raid for testing, those menus don't open, error log opens instead with the error above.
GwinnBleidd  [developer] 23 Jul, 2021 @ 7:41pm 
pushed an update just now, try plz. it should work
Dizzy Ioeuy 23 Jul, 2021 @ 7:54pm 
will do
Dizzy Ioeuy 23 Jul, 2021 @ 7:59pm 
all fixed. what was it?
GwinnBleidd  [developer] 23 Jul, 2021 @ 8:03pm 
It was related to a patch I created earlier today for SimpleSidearms mod compatibility.

Funny enough, the debug menu was only broken when SimpleSidearms mod was not in use. When it was used, error didn't happen (that's why i didn't notice it before until you reported it)
Dizzy Ioeuy 23 Jul, 2021 @ 8:04pm 
Wow... classic kind of bug. Yeah not much of a fan of simple sidearms... Sand in Pocket is more my style- or dual wield. Lucky you... :thronescommander:
< >
Showing 1-11 of 11 comments
Per page: 1530 50