Exception while loading mod nevir.DarknessNotExcluded at C:/Users/plazm/Documents/Klei/OxygenNotIncluded/mods/Steam/2964969010.
HarmonyLib.HarmonyException: Patching exception in method System.Void PeterHan.PLib.Options.OptionsDialog::AddModInfoScreen(PeterHan.PLib.UI.PDialog dialog) ---> System.Exception: Parameter "optionsDialog" not found in method System.Void PeterHan.PLib.Options.OptionsDialog::AddModInfoScreen(PeterHan.PLib.UI.PDialog dialog)
at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List1[T] tmpBoxVars) [0x00756] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.MethodPatcher+<>c__DisplayClass32_0.b1 (System.Reflection.MethodInfo fix) [0x00023] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[T] action) [0x00014] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.MethodPatcher.AddPostfixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Boolean passthroughPatches) [0x00039] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x0029a] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <2f5aaaa000594d07b9998f4cff1e9662>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[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 <1f4c5a7d658c4522888fade7e74323ad>:0
at DarknessNotIncluded.Mod.OnLoad (HarmonyLib.Harmony harmony) [0x00000] in <614b5c9252044efa99240a493ad33140>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <1f4c5a7d658c4522888fade7e74323ad>:0
at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in :0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in :0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in :0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0
at Global.Awake () [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>: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 :0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in :0
at LaunchInitializer.Update () [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0
Build: U46-552078-S
Exception while loading mod nevir.DarknessNotExcluded at C:/Users/plazm/Documents/Klei/OxygenNotIncluded/mods/Steam/2964969010. HarmonyLib.HarmonyException: Patching exception in method System.Void PeterHan.PLib.Options.OptionsDialog::AddModInfoScreen(PeterHan.PLib.UI.PDialog dialog) ---> System.Exception: Parameter "optionsDialog" not found in method System.Void PeterHan.PLib.Options.OptionsDialog::AddModInfoScreen(PeterHan.PLib.UI.PDialog dialog) at HarmonyLib.MethodPatcher.EmitCallParameter (System.Reflection.MethodInfo patch, System.Collections.Generic.Dictionaryb1 (System.Reflection.MethodInfo fix) [0x00023] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerableb 10_0 (System.Type type) [0x00007] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable
2[TKey,TValue] variables, System.Boolean allowFirsParamPassthrough, System.Reflection.Emit.LocalBuilder& tmpObjectVar, System.Collections.Generic.List
1[T] tmpBoxVars) [0x00756] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.MethodPatcher+<>c__DisplayClass32_0.1[T] sequence, System.Action
1[T] action) [0x00014] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.MethodPatcher.AddPostfixes (System.Collections.Generic.Dictionary2[TKey,TValue] variables, System.Boolean passthroughPatches) [0x00039] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary
2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x0029a] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <2f5aaaa000594d07b9998f4cff1e9662>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.Harmony.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 <1f4c5a7d658c4522888fade7e74323ad>:0 at DarknessNotIncluded.Mod.OnLoad (HarmonyLib.Harmony harmony) [0x00000] in <614b5c9252044efa99240a493ad33140>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <1f4c5a7d658c4522888fade7e74323ad>:0at UnityEngine.Debug.LogError (System.Object message, UnityEngine.Object context) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0 at Debug.LogError (System.Object obj, UnityEngine.Object context) [0x00000] in:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in :0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in :0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0
at Global.Awake () [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent_Injected (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3& pos, UnityEngine.Quaternion& rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Internal_InstantiateSingleWithParent (UnityEngine.Object data, UnityEngine.Transform parent, UnityEngine.Vector3 pos, UnityEngine.Quaternion rot) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Instantiate (UnityEngine.Object original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>:0
at UnityEngine.Object.Instantiate[T] (T original, UnityEngine.Vector3 position, UnityEngine.Quaternion rotation, UnityEngine.Transform parent) [0x00000] in <72b60a3dd8cd4f12a155b761a1af9144>: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 :0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in :0
at LaunchInitializer.Update () [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0
Build: U46-552078-S