When I launch the game, it loads for a bit like usual, then gives this error:
Exception while loading mod DGSM HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void Ony.OxygenNotIncluded.DGSM.MinionStartingStats_Ctor::Postfix(MinionStartingStats __instance, System.Boolean is_starter_minion, System.String guaranteedAptitudeID) at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action`1[T] action) [0x00014] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <9940aeae58614ca1bb6c00a13f254645>:0
at Ony.OxygenNotIncluded.DGSM.Loader.OnLoad (HarmonyLib.Harmony harmony) [0x00000] in <5b5f129c341d48329031fed628bb90b4>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <9940aeae58614ca1bb6c00a13f254645>:0
at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <7060dbe640fc4334a628e29f0102a641>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <7060dbe640fc4334a628e29f0102a641>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <7060dbe640fc4334a628e29f0102a641>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <9940aeae58614ca1bb6c00a13f254645>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <9940aeae58614ca1bb6c00a13f254645>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <9940aeae58614ca1bb6c00a13f254645>:0
at Global.Awake () [0x00000] in <9940aeae58614ca1bb6c00a13f254645>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <7060dbe640fc4334a628e29f0102a641>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <7060dbe640fc4334a628e29f0102a641>:0
at LaunchInitializer.Update () [0x00000] in <9940aeae58614ca1bb6c00a13f254645>:0
Build: U36-481350-VD`
When I launch the game, it loads for a bit like usual, then gives this error:
Exception while loading mod DGSM HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void Ony.OxygenNotIncluded.DGSM.MinionStartingStats_Ctor::Postfix(MinionStartingStats __instance, System.Boolean is_starter_minion, System.String guaranteedAptitudeID) at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable
1[T] sequence, System.Action`1[T] action) [0x00014] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <9940aeae58614ca1bb6c00a13f254645>:0 at Ony.OxygenNotIncluded.DGSM.Loader.OnLoad (HarmonyLib.Harmony harmony) [0x00000] in <5b5f129c341d48329031fed628bb90b4>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <9940aeae58614ca1bb6c00a13f254645>:0at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in <7060dbe640fc4334a628e29f0102a641>:0 at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <7060dbe640fc4334a628e29f0102a641>:0 at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <7060dbe640fc4334a628e29f0102a641>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <9940aeae58614ca1bb6c00a13f254645>:0 at KMod.Mod.Load (KMod.Content content) [0x00000] in <9940aeae58614ca1bb6c00a13f254645>:0 at KMod.Manager.Load (KMod.Content content) [0x00000] in <9940aeae58614ca1bb6c00a13f254645>:0 at Global.Awake () [0x00000] in <9940aeae58614ca1bb6c00a13f254645>:0 at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <9fe2cbebfa394c8da6af069ec8cc9ef4>:0 at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.GameObject parent, System.String name, System.Boolean initialize_id, System.Int32 gameLayer) [0x00000] in <7060dbe640fc4334a628e29f0102a641>:0 at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <7060dbe640fc4334a628e29f0102a641>:0 at LaunchInitializer.Update () [0x00000] in <9940aeae58614ca1bb6c00a13f254645>:0 Build: U36-481350-VD`