RimWorld

RimWorld

Post Office: The Letter Filter
Ayrlixx 15 Nov, 2024 @ 3:53pm
Debug Actions Menu
I have also experienced the debug actions menu not opening, tried removing and it started working again.

Used the Visual exceptions to get the stack trace for you but it doesn't list this mod as the issue underneath it, it lists Custom Quest Framework, HugsLib and Vanilla Expanded Framework, I tried removing all those and associated mods and it then listed Rocketman upon attempting to get to the debug menus

Steps to reproduce are just having dev mode on and trying to access the debug actions/views menus.
As for mod list is there an easy way to get that list? (I have 350+ mods atm)

Here's a link to the standard logs:

https://gist.github.com/HugsLibRecordKeeper/30d19ce39cb9bdf41d6c237185b96af2

Here's the stack trace from Visual Exceptions with all my mods active:

Exception in Verse.Window.InnerWindowOnGUI: System.TypeLoadException: Could not load type of field 'PostOffice.Patching.HarmonyPatches.MusicManagerPlay_DangerMusicModePatch+<>c__DisplayClass1_0:fog' (0) due to: Could not resolve type with token 01000029 (from typeref, class/assembly CombatAI.MapComponent_FogGrid, CombatAI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null) assembly:CombatAI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:CombatAI.MapComponent_FogGrid member:(null) signature:<none>
[Ref 18AB50CC]
at (wrapper managed-to-native) System.RuntimeType.GetMethodsByName_native(System.RuntimeType,intptr,System.Reflection.BindingFlags,bool)
at System.RuntimeType.GetMethodsByName (System.String name, System.Reflection.BindingFlags bindingAttr, System.Boolean ignoreCase, System.RuntimeType reflectedType) [0x0001b] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.GetMethodCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.CallingConventions callConv, System.Type[] types, System.Boolean allowPrefixLookup) [0x00010] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.GetMethods (System.Reflection.BindingFlags bindingAttr) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at LudeonTK.DebugTabMenu_Actions.InitActions (LudeonTK.DebugActionNode absRoot) [0x00070] in <2a40c3593b334f29ac3cb3d32d652351>:0
at LudeonTK.Dialog_Debug.TrySetupNodeGraph () [0x00040] in <2a40c3593b334f29ac3cb3d32d652351>:0
at LudeonTK.Dialog_Debug.SwitchTab (RimWorld.DebugTabMenuDef def) [0x00000] in <2a40c3593b334f29ac3cb3d32d652351>:0
at <0x15d921cdb80 + 0x00142> <unknown method>
at Verse.DebugWindowsOpener.ToggleDebugActionsMenu () [0x00013] in <2a40c3593b334f29ac3cb3d32d652351>:0
at Verse.DebugWindowsOpener.DrawButtons () [0x000fe] in <2a40c3593b334f29ac3cb3d32d652351>:0
- TRANSPILER UnlimitedHugs.HugsLib: IEnumerable`1 HugsLib.Patches.DebugWindowsOpener_Patch:DrawAdditionalButtons(IEnumerable`1 instructions)
- TRANSPILER OskarPotocki.VFECore: IEnumerable`1 VFECore.DebugWindowsOpener_DrawButtons_Patch:Transpiler(IEnumerable`1 instructions)
- PREFIX QF_Patch: Boolean QuestEditor_Library.Patch_AddQuestEditorInDebug:PreFix(WidgetRow ___widgetRow)
at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <2a40c3593b334f29ac3cb3d32d652351>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <2a40c3593b334f29ac3cb3d32d652351>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)

Here's the stack trace without the 3 main ones mentioned:

Exception in Verse.Window.InnerWindowOnGUI: System.TypeLoadException: Could not load type of field 'PostOffice.Patching.HarmonyPatches.MusicManagerPlay_DangerMusicModePatch+<>c__DisplayClass1_0:fog' (0) due to: Could not resolve type with token 01000029 (from typeref, class/assembly CombatAI.MapComponent_FogGrid, CombatAI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null) assembly:CombatAI, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:CombatAI.MapComponent_FogGrid member:(null) signature:<none>
[Ref BA5C9C56]
at (wrapper managed-to-native) System.RuntimeType.GetMethodsByName_native(System.RuntimeType,intptr,System.Reflection.BindingFlags,bool)
at System.RuntimeType.GetMethodsByName (System.String name, System.Reflection.BindingFlags bindingAttr, System.Boolean ignoreCase, System.RuntimeType reflectedType) [0x0001b] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.GetMethodCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.CallingConventions callConv, System.Type[] types, System.Boolean allowPrefixLookup) [0x00010] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.RuntimeType.GetMethods (System.Reflection.BindingFlags bindingAttr) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at LudeonTK.DebugTabMenu_Actions.InitActions (LudeonTK.DebugActionNode absRoot) [0x00070] in <2a40c3593b334f29ac3cb3d32d652351>:0
at LudeonTK.Dialog_Debug.TrySetupNodeGraph () [0x00040] in <2a40c3593b334f29ac3cb3d32d652351>:0
at LudeonTK.Dialog_Debug.SwitchTab (RimWorld.DebugTabMenuDef def) [0x00000] in <2a40c3593b334f29ac3cb3d32d652351>:0
at <0x1eed40a5400 + 0x00142> <unknown method>
at Verse.DebugWindowsOpener.ToggleDebugActionsMenu () [0x00013] in <2a40c3593b334f29ac3cb3d32d652351>:0
at Verse.DebugWindowsOpener.DrawButtons () [0x000d4] in <2a40c3593b334f29ac3cb3d32d652351>:0
at RocketMan.DebugWindowsOpener_Patch+<>c__DisplayClass3_0.<Postfix>b__0 () [0x00000] in <949351c33af947369af199f234821cd7>:0
at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <2a40c3593b334f29ac3cb3d32d652351>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <2a40c3593b334f29ac3cb3d32d652351>:0
- TRANSPILER net.pardeike.rimworld.lib.harmony: IEnumerable`1 VisualExceptions.ExceptionsAndActivatorHandler:Transpiler(IEnumerable`1 instructions, MethodBase original)

Hope this helps/is what you were looking for.
< >
Showing 1-2 of 2 comments
Th3_Fr3d  [developer] 24 Nov, 2024 @ 5:45am 
@Ayrlixx thanks for the report, this is very likely related to https://github.com/frederik-hoeft/rimworld-post-office/issues/3

Should be fixed now, make sure Steam has updated the Post Office mod correctly, and feel free to try again :)
Let me know if the issue persists
Ayrlixx 25 Nov, 2024 @ 9:03am 
Just loaded up with the save I had before, all works fine now for the debug menu so looks like you have solved it, thanks!
< >
Showing 1-2 of 2 comments
Per page: 1530 50