Oxygen Not Included

Oxygen Not Included

Build Over Plants
speedy45 7 Mar, 2024 @ 8:08pm
Reporting Bug Report
Exception while loading mod 1835394161.Steam at C:/Users/luigi/Documents/Klei/OxygenNotIncluded/mods/Steam/1835394161.
HarmonyLib.HarmonyException: Ambiguous match for HarmonyMethod[(class=BuildingDef, methodname=IsAreaClear, type=Normal, args=undefined)] ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00059] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <695d1cc93cca45069c528c15c9fdd749>:0
at HarmonyLib.AccessTools.DeclaredMethod (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x00028] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.PatchTools.GetOriginalMethod (HarmonyLib.HarmonyMethod attr) [0x0004d] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <10441a52cf784e609fef9aaaa8368210>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <10441a52cf784e609fef9aaaa8368210>: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 <3ca21dc18eae422d87255277091f8593>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at Global.Awake () [0x00000] in <10441a52cf784e609fef9aaaa8368210>: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 <3ca21dc18eae422d87255277091f8593>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0
at LaunchInitializer.Update () [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
Build: U51-597172-SD
< >
Showing 1-8 of 8 comments
Alex  [developer] 7 Mar, 2024 @ 8:52pm 
Thank you for the report. I have updated the mod to fix the issue. Please allow some time for Steam to download the new version
speedy45 8 Mar, 2024 @ 2:06am 
ok that to head, and I did subscribe to it. So it did updated and worked just fine.
Bearcules 8 Mar, 2024 @ 4:25am 
Seems like i get the same error.

I have unsubscribed and resubscribed to get the updated version. and it says i have version 1.1.1

Exception while loading mod 1835394161.Steam at C:/Users/bjorn/Documents/Klei/OxygenNotIncluded/mods/Steam/1835394161.
HarmonyLib.HarmonyException: Ambiguous match for HarmonyMethod[(class=BuildingDef, methodname=IsAreaClear, type=Normal, args=undefined)] ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00059] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <695d1cc93cca45069c528c15c9fdd749>:0
at HarmonyLib.AccessTools.DeclaredMethod (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x00028] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.PatchTools.GetOriginalMethod (HarmonyLib.HarmonyMethod attr) [0x0004d] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <10441a52cf784e609fef9aaaa8368210>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <10441a52cf784e609fef9aaaa8368210>: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 <3ca21dc18eae422d87255277091f8593>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at Global.Awake () [0x00000] in <10441a52cf784e609fef9aaaa8368210>: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 <3ca21dc18eae422d87255277091f8593>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0
at LaunchInitializer.Update () [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
Build: U51-597172-S
Alex  [developer] 8 Mar, 2024 @ 2:25pm 
Originally posted by Bearcules:
Seems like i get the same error.

I have unsubscribed and resubscribed to get the updated version. and it says i have version 1.1.1

Exception while loading mod 1835394161.Steam at C:/Users/bjorn/Documents/Klei/OxygenNotIncluded/mods/Steam/1835394161.
HarmonyLib.HarmonyException: Ambiguous match for HarmonyMethod[(class=BuildingDef, methodname=IsAreaClear, type=Normal, args=undefined)] ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00059] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <695d1cc93cca45069c528c15c9fdd749>:0
at HarmonyLib.AccessTools.DeclaredMethod (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x00028] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.PatchTools.GetOriginalMethod (HarmonyLib.HarmonyMethod attr) [0x0004d] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <10441a52cf784e609fef9aaaa8368210>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <10441a52cf784e609fef9aaaa8368210>: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 <3ca21dc18eae422d87255277091f8593>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
at Global.Awake () [0x00000] in <10441a52cf784e609fef9aaaa8368210>: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 <3ca21dc18eae422d87255277091f8593>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <3ca21dc18eae422d87255277091f8593>:0
at LaunchInitializer.Update () [0x00000] in <10441a52cf784e609fef9aaaa8368210>:0
Build: U51-597172-S

Your version of the mod might have not updated properly, as this error indicates the old version is still running.

The mod folder is located at
C:\Program Files (x86)\Steam\steamapps\workshop\content\457140\1835394161\
Try deleting this folder and then allow steam to re-download the mod

Please see my post below for updated instructions
Last edited by Alex; 9 Mar, 2024 @ 4:56am
Gim1i 9 Mar, 2024 @ 1:05am 
I've updated to the v1.1.1 as it should be and done the file deletion and redownload thing and its still crashing on launch for me. Heres my crash log if it helps:

DirectoryNotFoundException: Could not find a part of the path "C:\Program Files (x86)\Steam\steamapps\workshop\content\457140\1835394161\2425822906889809815_legacy.bin".

System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) (at <695d1cc93cca45069c528c15c9fdd749>:0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
System.IO.File.Open (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) (at <695d1cc93cca45069c528c15c9fdd749>:0)
Ionic.Zip.ZipFile.get_ReadStream () (at <c5d6b36976e845b59baec1498be897f9>:0)
Ionic.Zip.ZipFile.ReadIntoInstance (Ionic.Zip.ZipFile zf) (at <c5d6b36976e845b59baec1498be897f9>:0)
Ionic.Zip.ZipFile.Read (System.String fileName, System.IO.TextWriter statusMessageWriter, System.Text.Encoding encoding, System.EventHandler`1[TEventArgs] readProgress) (at <c5d6b36976e845b59baec1498be897f9>:0)
Ionic.Zip.ZipFile.Read (System.String fileName) (at <c5d6b36976e845b59baec1498be897f9>:0)
KMod.ZipFile..ctor (System.String filename) (at <10441a52cf784e609fef9aaaa8368210>:0)
KMod.Steam.MakeMod (SteamUGCService+Mod subscribed) (at <10441a52cf784e609fef9aaaa8368210>:0)
KMod.Steam.UpdateMods (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] updated, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] loaded_previews) (at <10441a52cf784e609fef9aaaa8368210>:0)
SteamUGCService.Update () (at <10441a52cf784e609fef9aaaa8368210>:0)

Build: U51-597172-S
Alex  [developer] 9 Mar, 2024 @ 4:54am 
Originally posted by SovietSuporter69:
I've updated to the v1.1.1 as it should be and done the file deletion and redownload thing and its still crashing on launch for me. Heres my crash log if it helps:

DirectoryNotFoundException: Could not find a part of the path "C:\Program Files (x86)\Steam\steamapps\workshop\content\457140\1835394161\2425822906889809815_legacy.bin".

System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) (at <695d1cc93cca45069c528c15c9fdd749>:0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
System.IO.File.Open (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) (at <695d1cc93cca45069c528c15c9fdd749>:0)
Ionic.Zip.ZipFile.get_ReadStream () (at <c5d6b36976e845b59baec1498be897f9>:0)
Ionic.Zip.ZipFile.ReadIntoInstance (Ionic.Zip.ZipFile zf) (at <c5d6b36976e845b59baec1498be897f9>:0)
Ionic.Zip.ZipFile.Read (System.String fileName, System.IO.TextWriter statusMessageWriter, System.Text.Encoding encoding, System.EventHandler`1[TEventArgs] readProgress) (at <c5d6b36976e845b59baec1498be897f9>:0)
Ionic.Zip.ZipFile.Read (System.String fileName) (at <c5d6b36976e845b59baec1498be897f9>:0)
KMod.ZipFile..ctor (System.String filename) (at <10441a52cf784e609fef9aaaa8368210>:0)
KMod.Steam.MakeMod (SteamUGCService+Mod subscribed) (at <10441a52cf784e609fef9aaaa8368210>:0)
KMod.Steam.UpdateMods (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] updated, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] loaded_previews) (at <10441a52cf784e609fef9aaaa8368210>:0)
SteamUGCService.Update () (at <10441a52cf784e609fef9aaaa8368210>:0)

Build: U51-597172-S
I did some testing and it seems the game still thinks the old mod is installed, which causes the crash when it tries to load it. The only way I found to fix this is to reinstall the game, which will trigger a re-download of all the workshop mods.

For anyone else having issues with the mod not updating, I would not recommend deleting the mod folder anymore as it has a chance of causing this new error. Instead, try unsubscribing and restarting the game a few times until the game uninstalls the old version, then resubscribe.
Gim1i 9 Mar, 2024 @ 10:30am 
Originally posted by Alex:
Originally posted by SovietSuporter69:
I've updated to the v1.1.1 as it should be and done the file deletion and redownload thing and its still crashing on launch for me. Heres my crash log if it helps:

DirectoryNotFoundException: Could not find a part of the path "C:\Program Files (x86)\Steam\steamapps\workshop\content\457140\1835394161\2425822906889809815_legacy.bin".

System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <695d1cc93cca45069c528c15c9fdd749>:0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) (at <695d1cc93cca45069c528c15c9fdd749>:0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
System.IO.File.Open (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share) (at <695d1cc93cca45069c528c15c9fdd749>:0)
Ionic.Zip.ZipFile.get_ReadStream () (at <c5d6b36976e845b59baec1498be897f9>:0)
Ionic.Zip.ZipFile.ReadIntoInstance (Ionic.Zip.ZipFile zf) (at <c5d6b36976e845b59baec1498be897f9>:0)
Ionic.Zip.ZipFile.Read (System.String fileName, System.IO.TextWriter statusMessageWriter, System.Text.Encoding encoding, System.EventHandler`1[TEventArgs] readProgress) (at <c5d6b36976e845b59baec1498be897f9>:0)
Ionic.Zip.ZipFile.Read (System.String fileName) (at <c5d6b36976e845b59baec1498be897f9>:0)
KMod.ZipFile..ctor (System.String filename) (at <10441a52cf784e609fef9aaaa8368210>:0)
KMod.Steam.MakeMod (SteamUGCService+Mod subscribed) (at <10441a52cf784e609fef9aaaa8368210>:0)
KMod.Steam.UpdateMods (System.Collections.Generic.IEnumerable`1[T] added, System.Collections.Generic.IEnumerable`1[T] updated, System.Collections.Generic.IEnumerable`1[T] removed, System.Collections.Generic.IEnumerable`1[T] loaded_previews) (at <10441a52cf784e609fef9aaaa8368210>:0)
SteamUGCService.Update () (at <10441a52cf784e609fef9aaaa8368210>:0)

Build: U51-597172-S
I did some testing and it seems the game still thinks the old mod is installed, which causes the crash when it tries to load it. The only way I found to fix this is to reinstall the game, which will trigger a re-download of all the workshop mods.

For anyone else having issues with the mod not updating, I would not recommend deleting the mod folder anymore as it has a chance of causing this new error. Instead, try unsubscribing and restarting the game a few times until the game uninstalls the old version, then resubscribe.
Can confirm the re-download did fix the bug, but it took an hour and a half so I would recommend avoiding the initial problem all together
qops1981 20 May, 2024 @ 4:10pm 
Game Crashes on Startup

```
[23:05:04.893] [1] [ERROR] null Exception while loading mod 1835394161.Steam at C:/Users/ZZZZZ/OneDrive/Documents/Klei/OxygenNotIncluded/mods/Steam/1835394161.
HarmonyLib.HarmonyException: Ambiguous match for HarmonyMethod[(class=BuildingDef, methodname=IsAreaClear, type=Normal, args=undefined)] ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00059] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <695d1cc93cca45069c528c15c9fdd749>:0
at HarmonyLib.AccessTools.DeclaredMethod (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x00028] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.PatchTools.GetOriginalMethod (HarmonyLib.HarmonyMethod attr) [0x0004d] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <3d436e4ec1d5455793674ec559b0cc77>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <3d436e4ec1d5455793674ec559b0cc77>:0
Exception while loading mod 1835394161.Steam at C:/Users/Qops1/OneDrive/Documents/Klei/OxygenNotIncluded/mods/Steam/1835394161.
HarmonyLib.HarmonyException: Ambiguous match for HarmonyMethod[(class=BuildingDef, methodname=IsAreaClear, type=Normal, args=undefined)] ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
at System.RuntimeType.GetMethodImpl (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Reflection.CallingConventions callConv, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00059] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr) [0x0000e] in <695d1cc93cca45069c528c15c9fdd749>:0
at HarmonyLib.AccessTools.DeclaredMethod (System.Type type, System.String name, System.Type[] parameters, System.Type[] generics) [0x00028] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.PatchTools.GetOriginalMethod (HarmonyLib.HarmonyMethod attr) [0x0004d] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <6dcb326e4f6442999f701f1e67d0b5a0>:0
at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <3d436e4ec1d5455793674ec559b0cc77>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <3d436e4ec1d5455793674ec559b0cc77>:0
```
< >
Showing 1-8 of 8 comments
Per page: 1530 50