zeobviouslyfakeacc / ModSettings

Library for The Long Dark that lets other mods create their own mod settings and custom mode settings
MIT License
14 stars 6 forks source link

Mod error #7

Closed TrueB1T closed 2 years ago

TrueB1T commented 2 years ago

I'm getting an error for this mod when loading the game (1st error) and selecting the "Settings" button from the main menu (2nd error).

image

Error text: [14:40:24.999] [ERROR] Exception in Harmony patch of method void Panel_OptionsMenu::ConfigureMenu(): System.MissingMethodException: bool InterfaceManager.IsMainMenuActive() at (wrapper dynamic-method) Panel_OptionsMenu.DMD(Panel_OptionsMenu) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.DMD_il2cpp(intptr) [14:40:58.008] [ERROR] Exception in Harmony patch of method void Panel_OptionsMenu::MainMenuTabOnEnable(): System.NullReferenceException: Object reference not set to an instance of an object at ModSettings.ModSettingsPatches.GetSettingsTab (Panel_OptionsMenu panel) [0x00010] in :0 at ModSettings.ModSettingsPatches+DisableModSettingsWhenBackPressed.Prefix (Panel_OptionsMenu __instance) [0x00000] in :0 at (wrapper dynamic-method) Panel_OptionsMenu.DMD(Panel_OptionsMenu) at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.DMD_il2cpp(intptr)

TrueB1T commented 2 years ago

I downloaded the outdated version from here: https://github.com/Xpazeman/tld-weight-tweaks