Closed jcauburn closed 2 years ago
It looks like Steam is failing to update Mod Updater itself. Many users will likely need to perform a manual download and install of Mod Updater from the links on this website to get everything working again. After following the instructions in the guide, you can use the local version to force update the Steam version, then remove the local version.
Expected Behavior
Game should start with mod
Just the regular game.
Current Behavior
game crashes instead of running
Mod Versions
Mod Updater crashes harder
Steps to Reproduce
Output Log
Exception while loading mod PeterHan.ModUpdateDate at C:/Users/jcaub/Documents/Klei/OxygenNotIncluded/mods/Steam/2018291283. HarmonyLib.HarmonyException: Patching exception in method System.Void KMod.Manager::Subscribe(KMod.Mod mod, System.Object caller) ---> System.TypeLoadException: Could not load type of field 'PeterHan.ModUpdateDate.ModUpdateDetails:DETAILS' (0) due to: Could not resolve type with token 0100005a (from typeref, class/assembly Steamworks.SteamUGCDetails_t, Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null) assembly:Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null type:Steamworks.SteamUGCDetails_t member:(null) signature:
at (wrapper managed-to-native) System.RuntimeType.GetMethodsByName_native(System.RuntimeType,intptr,System.Reflection.BindingFlags,bool)
at System.RuntimeType.GetMethodsByName (System.String name, System.Reflection.BindingFlags bindingAttr, System.Boolean ignoreCase, System.RuntimeType reflectedType) [0x0001b] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.RuntimeType.GetMethodCandidates (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.CallingConventions callConv, System.Type[] types, System.Boolean allowPrefixLookup) [0x00010] in <695d1cc93cca45069c528c15c9fdd749>:0
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) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Type.GetMethod (System.String name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Type[] types, System.Reflection.ParameterModifier[] modifiers) [0x00043] in <695d1cc93cca45069c528c15c9fdd749>:0
at PeterHan.PLib.Core.PPatchTools.GetMethodSafe (System.Type type, System.String methodName, System.Boolean isStatic, System.Type[] arguments) [0x00035] in <033cf09f7dee479d9039e9348a756931>:0
at PeterHan.ModUpdateDate.ModUpdateDatePatches+Manager_Subscribe_Patch+d0.MoveNext () [0x00060] in <033cf09f7dee479d9039e9348a756931>:0
at System.Collections.Generic.Listb 10_0 (System.Type type) [0x00007] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable
1[T]..ctor (System.Collections.Generic.IEnumerable
1[T] collection) [0x00077] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable1[T] source) [0x00018] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00051] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List
1[T] transpilers, System.Collections.Generic.List1[T] endLabels, System.Boolean& hasReturnCode) [0x0014a] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List
1[T] endLabels, System.Boolean& hasReturnCode) [0x00000] in <2f5aaaa000594d07b9998f4cff1e9662>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x0021f] 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 <33cbadb4d53344698461e1b8bda03e57>:0 at PeterHan.ModUpdateDate.ModUpdateDatePatches.OnLoad (HarmonyLib.Harmony harmony) [0x00044] in <033cf09f7dee479d9039e9348a756931>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <33cbadb4d53344698461e1b8bda03e57>: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 <53ba8544b0394db88dcaac034e1fe553>:0 at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <53ba8544b0394db88dcaac034e1fe553>:0 at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <53ba8544b0394db88dcaac034e1fe553>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0 at KMod.Mod.Load (KMod.Content content) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0 at KMod.Manager.Load (KMod.Content content) [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0 at Global.Awake () [0x00000] in <33cbadb4d53344698461e1b8bda03e57>: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 <53ba8544b0394db88dcaac034e1fe553>:0 at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <53ba8544b0394db88dcaac034e1fe553>:0 at LaunchInitializer.Update () [0x00000] in <33cbadb4d53344698461e1b8bda03e57>:0 Build: U41-498381-V