Whenever I launch the game with mods, HKMP fails to initialize and it's the only mod I tried to install so far.
I already tried to uninstall and reinstall the mod or to run the game as administrator. I still get the same error message.
This is the ModLog:
[INFO]:[API] - Starting mod loading
[INFO]:[API] - Loading Global Settings
[INFO]:[API] - Deleting modlogs older than 7 days ago
[INFO]:[HkmpMod] - Initializing
[INFO]:[HkmpMod] - Loading Global Settings
[INFO]:[API] - Creating mod preloads
[INFO]:[API] - Preloaded reflection in 2070ms
[INFO]:[Hkmp.HkmpMod] Initializing HKMP v2.4.2
[ERROR]:[API] - Failed to load Mod HKMP
[ERROR]:[API] - System.MissingMethodException: Mono.Cecil.Cil.ILProcessor MonoMod.Utils.DynamicMethodDefinition.GetILProcessor()
[ERROR]:[API] - at MonoMod.RuntimeDetour.Hook..ctor (System.Reflection.MethodBase from, System.Reflection.MethodInfo to, System.Object target, MonoMod.RuntimeDetour.HookConfig config) [0x00000] in <4e2760c7517c4ea79c633d67e84b319f>:0
[ERROR]:[API] - at MonoMod.RuntimeDetour.Hook..ctor (System.Reflection.MethodBase from, System.Reflection.MethodInfo to, System.Object target) [0x0001d] in <4e2760c7517c4ea79c633d67e84b319f>:0
[ERROR]:[API] - at MonoMod.RuntimeDetour.Hook..ctor (System.Reflection.MethodBase method, System.Delegate to) [0x0000e] in <4e2760c7517c4ea79c633d67e84b319f>:0
[ERROR]:[API] - at MonoMod.RuntimeDetour.HookGen.HookEndpoint._NewHook (System.Reflection.MethodBase from, System.Delegate to) [0x00000] in <4e2760c7517c4ea79c633d67e84b319f>:0
[ERROR]:[API] - at MonoMod.RuntimeDetour.HookGen.HookEndpoint._Add[TDelegate] (System.Func3[T1,T2,TResult] gen, TDelegate hookDelegate) [0x0003c] in <4e2760c7517c4ea79c633d67e84b319f>:0 [ERROR]:[API] - at MonoMod.RuntimeDetour.HookGen.HookEndpoint.Add (System.Delegate hookDelegate) [0x00000] in <4e2760c7517c4ea79c633d67e84b319f>:0 [ERROR]:[API] - at MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Add (System.Reflection.MethodBase method, System.Delegate hookDelegate) [0x00028] in <4e2760c7517c4ea79c633d67e84b319f>:0 [ERROR]:[API] - at MonoMod.RuntimeDetour.HookGen.HookEndpointManager.Add[T] (System.Reflection.MethodBase method, System.Delegate hookDelegate) [0x00000] in <4e2760c7517c4ea79c633d67e84b319f>:0 [ERROR]:[API] - at On.UIManager.add_SetState (On.UIManager+hook_SetState ) [0x0000a] in <d116ec8f90dd4dd5bd4f7dd13cad249a>:0 [ERROR]:[API] - at Hkmp.Ui.UiManager..ctor (Hkmp.Game.Settings.ServerSettings clientServerSettings, Hkmp.Game.Settings.ModSettings modSettings, Hkmp.Networking.Client.NetClient netClient) [0x0014d] in /home/runner/work/HKMP/HKMP/HKMP/Ui/UiManager.cs:159 [ERROR]:[API] - at Hkmp.Game.GameManager..ctor (Hkmp.Game.Settings.ModSettings modSettings) [0x0004e] in /home/runner/work/HKMP/HKMP/HKMP/Game/GameManager.cs:39 [ERROR]:[API] - at Hkmp.HkmpMod.Initialize (System.Collections.Generic.Dictionary2[TKey,TValue] preloadedObjects) [0x00030] in /home/runner/work/HKMP/HKMP/HKMP/HkmpMod.cs:58
[ERROR]:[API] - at Modding.ModLoader.LoadMod (Modding.ModLoader+ModInstance mod, System.Boolean updateModText, System.Collections.Generic.Dictionary`2[TKey,TValue] preloadedObjects) [0x00022] in <2b54cdaf7a934f0eb297d50c4090ea9f>:0
[INFO]:[API] - Finished loading mods:
[INFO]:[API] - Modding API: 1.5.78.11833-74
[INFO]:[API] - HKMP : Failed to initialize! Check ModLog.txt
[INFO]:[API] -
[INFO]:[HkmpMod] - Saving Global Settings
[INFO]:[API] - Saving Global Settings
(formerly Scarab+)