OrionFive / Hospitality

Orion's "Hospitality" and more
https://www.patreon.com/orionmods
GNU General Public License v3.0
91 stars 52 forks source link

Hospitality: Unable to open the Dev Menu #698

Closed Jmack94 closed 2 years ago

Jmack94 commented 2 years ago

After loading the game, I am unable to open the dev menu at any point. After some testing on my part removing hospitality from my modlist fixed the issue, although I would rather like to play with it enabled, hence why I'm posting here. The issue seemed similar to this thread here [https://github.com/OrionFive/Hospitality/issues/563], however I do not have the mod that caused that poster the issue, so I'm not really sure.

To Reproduce, Have the same modlist and configurations I do and attempt to open the dev menu I suppose.

This is the specific error log I'm given after the dev menu fails to open;

Exception getting types in assembly Hospitality, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null. Some types may not work correctly. Exception: System.Reflection.ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown. at (wrapper managed-to-native) System.Reflection.Assembly.GetTypes(System.Reflection.Assembly,bool) at System.Reflection.Assembly.GetTypes () [0x00000] in :0 at Verse.GenTypes+d__4.MoveNext () [0x0004a] in <81af9f8a18324e17b286924a43555a7c>:0 UnityEngine.StackTraceUtility:ExtractStackTrace () Verse.Log:Error (string) Verse.GenTypes/d__4:MoveNext () Verse.Dialog_DebugActionsMenu:.ctor () Verse.DebugWindowsOpener:ToggleDebugActionsMenu () (wrapper dynamic-method) Verse.DebugWindowsOpener:Verse.DebugWindowsOpener.DrawButtons_Patch1 (Verse.DebugWindowsOpener) Verse.ImmediateWindow:DoWindowContents (UnityEngine.Rect) 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 Verse.DebugActionAttribute..ctor(string,string) 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 :0 at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00037] in :0 at System.Reflection.MonoMethod.GetCustomAttributes (System.Type attributeType, System.Boolean inherit) [0x00000] in :0 at Verse.GenAttribute.TryGetAttribute[T] (System.Reflection.MemberInfo memberInfo, T& customAttribute) [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0 at Verse.Dialog_DebugActionsMenu..ctor () [0x0003e] in <81af9f8a18324e17b286924a43555a7c>:0 at Verse.DebugWindowsOpener.ToggleDebugActionsMenu () [0x0001c] in <81af9f8a18324e17b286924a43555a7c>:0 at (wrapper dynamic-method) Verse.DebugWindowsOpener.Verse.DebugWindowsOpener.DrawButtons_Patch1(Verse.DebugWindowsOpener) at Verse.ImmediateWindow.DoWindowContents (UnityEngine.Rect inRect) [0x00000] in <81af9f8a18324e17b286924a43555a7c>:0 at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001d3] in <81af9f8a18324e17b286924a43555a7c>: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)

However if you want the full log I have that right here [https://gist.github.com/HugsLibRecordKeeper/6c3300ad440981837adee5a726f18ffc]

OrionFive commented 2 years ago

I've seen this a couple of times. It happens when a mod doesn't load correctly. I'm not sure what the cause is. Could be you just need to download the mod again, or you're running on a system that chokes on it (Linux?). Either way there's absolutely nothing I can do about it. Good luck!