Skip to content

Error on Startup - installed via Thunderstore #88

Description

@benaiguy

Just installed as a dependency for another mod via Thunderstore. Saw that errors were popping up in the Melon Loader console so I disabled all other mods to see what was going on. This mod is the only one installed and it fails to load on startup. Here's the console output (slightly obfuscated):

[11:25:10.457] ------------------------------
[11:25:10.460] MelonLoader v0.7.0 Open-Beta
[11:25:10.461] OS: Windows 11
[11:25:10.461] Hash Code: <hash>
[11:25:10.461] ------------------------------
[11:25:10.462] Game Type: Il2cpp
[11:25:10.462] Game Arch: x64
[11:25:10.462] ------------------------------
[11:25:10.462] Command-Line:
[11:25:10.462] ------------------------------
[11:25:10.462] Core::BasePath = <path>\ScheduleI\profiles\Default
[11:25:10.462] Game::BasePath = <path>\steamapps\common\Schedule I
[11:25:10.462] Game::DataPath = <path>\steamapps\common\Schedule I\Schedule I_Data
[11:25:10.462] Game::ApplicationPath = <path>\steamapps\common\Schedule I\Schedule I.exe
[11:25:10.463] Runtime Type: net6
[11:25:10.576] ------------------------------
[11:25:10.576] Game Name: Schedule I
[11:25:10.576] Game Developer: TVGS
[11:25:10.578] Unity Version: 2022.3.32f1
[11:25:10.579] Game Version: 0.3.5f3
[11:25:10.579] ------------------------------

[11:25:11.547] Preferences Loaded!

[11:25:11.559] Loading UserLibs...
[11:25:11.562] 0 UserLibs loaded.

[11:25:11.562] Loading Plugins...
[11:25:11.577] ------------------------------
[11:25:11.580] Melon Assembly loaded: '.\Mods\KaBooMa-S1API\Plugins\S1APILoader.BepInEx.dll'
[11:25:11.580] SHA256 Hash: <hash>

[11:25:11.610] ------------------------------
[11:25:11.610] S1APILoader v1.6.2
[11:25:11.610] by KaBooMa
[11:25:11.610] Assembly: S1APILoader.BepInEx.dll
[11:25:11.610] ------------------------------
[11:25:11.611] ------------------------------
[11:25:11.611] 1 Plugin loaded.

[11:25:13.413] Loading Il2CppAssemblyGenerator...
[11:25:13.445] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[11:25:13.640] [Il2CppAssemblyGenerator] Game Not Found on RemoteAPI Host (https://api.melonloader.com/api/v1/game/schedule-i)
[11:25:13.640] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[11:25:13.641] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[11:25:13.641] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[11:25:13.641] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[11:25:13.644] [Il2CppAssemblyGenerator] Using Cpp2IL Version: 2022.1.0-pre-release.19
[11:25:13.644] [Il2CppAssemblyGenerator] Using Il2CppInterop Version = 1.4.6-ci.579+9d4599dc78d69ede49a2ee96a1ccf41eec02db5b
[11:25:13.644] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2022.3.32
[11:25:13.644] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[11:25:13.644] [Il2CppAssemblyGenerator] Cpp2IL is up to date.
[11:25:13.645] [Il2CppAssemblyGenerator] Cpp2IL.Plugin.StrippedCodeRegSupport is up to date.
[11:25:13.645] [Il2CppAssemblyGenerator] UnityDependencies is up to date.
[11:25:13.645] [Il2CppAssemblyGenerator] Checking GameAssembly...
[11:25:13.762] [Il2CppAssemblyGenerator] Assembly is up to date. No Generation Needed.
[11:25:13.764] [S1APILoader] Loading S1API for Il2Cpp...
[11:25:13.764] [S1APILoader] Successfully loaded S1API for Il2Cpp!

[11:25:13.764] Loading Mods...
[11:25:13.765] ------------------------------
[11:25:13.785] Melon Assembly loaded: '.\Mods\KaBooMa-S1API\Mods\S1API.Il2Cpp.MelonLoader.dll'
[11:25:13.785] SHA256 Hash: <hash>

[11:25:14.026] ------------------------------
[11:25:14.026] S1API v1.6.2
[11:25:14.027] by KaBooMa
[11:25:14.027] Assembly: S1API.Il2Cpp.MelonLoader.dll
[11:25:14.027] ------------------------------
[11:25:14.027] ------------------------------
[11:25:14.027] 1 Mod loaded.

[11:25:15.127] [Il2CppInterop] Class::Init signatures have been exhausted, using a substitute!
[11:25:15.236] [Il2CppInterop] Registered mono type Il2CppInterop.Runtime.DelegateSupport+Il2CppToMonoDelegateReference in il2cpp domain
[11:25:15.287] [Il2CppInterop] Registered mono type MelonLoader.Support.MonoEnumeratorWrapper in il2cpp domain
[11:25:15.332] [Il2CppInterop] Registered mono type MelonLoader.Support.SM_Component in il2cpp domain
[11:25:15.341] Support Module Loaded: <path>\ScheduleI\profiles\Default\MelonLoader\Dependencies\SupportModules\Il2Cpp.dll
[11:25:15.547] [S1API] HarmonyLib.HarmonyException: Patching exception in method null
---> System.ArgumentException: Undefined target method for patch method static void S1API.Internal.Patches.QuestPatches::QuestManagerWriteData(Il2CppScheduleOne.Quests.QuestManager __instance, string parentFolderPath, Il2CppSystem.Collections.Generic.List1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]& __result) at HarmonyLib.PatchClassProcessor.PatchWithAttributes(MethodBase& lastOriginal) at HarmonyLib.PatchClassProcessor.Patch() --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException(Exception exception, MethodBase original) at HarmonyLib.PatchClassProcessor.Patch() at HarmonyLib.Harmony.<PatchAll>b__11_0(Type type) at HarmonyLib.CollectionExtensions.Do[T](IEnumerable1 sequence, Action1 action) at HarmonyLib.Harmony.PatchAll(Assembly assembly) at MelonLoader.MelonMod.HarmonyInit() in _<path>_\a\MelonLoader\MelonLoader\MelonLoader\Melons\MelonMod.cs:line 40 at MelonLoader.MelonEvent.<>c.<Invoke>b__1_0(LemonAction x) in <path>\a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 174 at MelonLoader.MelonEventBase1.Invoke(Action`1 delegateInvoker) in \a\MelonLoader\MelonLoader\MelonLoader\Melons\Events\MelonEvent.cs:line 143
Setting breakpad minidump AppID = 3164500
SteamInternal_SetMinidumpSteamID: Caching Steam ID: <steamId> [API loaded no]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions