O-n-y / oxy.mods

Oxy.BugTracker
19 stars 2 forks source link

Mod Manager causing crashes. #123

Closed seona13 closed 1 year ago

seona13 commented 1 year ago

Returned to ONI after many months of being focussed on other things. Had to disable all my mods, so then went in and started to re-enable. Turned on Mod Manager - it's currently the only mod enabled. ONI restarted, then crashed as soon as it loaded. Here's the error log, in the hope that you can figure out why this is happening:


System.TypeLoadException: Could not resolve type with token 0100000e (from typeref, class/assembly Steamworks.SteamUGCDetails_t, Assembly-CSharp-firstpass, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null)
  at (wrapper managed-to-native) System.Reflection.MonoMethodInfo.get_method_info(intptr,System.Reflection.MonoMethodInfo&)
  at System.Reflection.MonoMethodInfo.GetMethodInfo (System.IntPtr handle) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Reflection.MonoMethod.GetPseudoCustomAttributes () [0x00002] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.MonoCustomAttrs.GetPseudoCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType) [0x0000a] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.MonoCustomAttrs.GetCustomAttributesBase (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inheritedOnly) [0x0001f] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Type attributeType, System.Boolean inherit) [0x00037] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.MonoCustomAttrs.GetCustomAttributes (System.Reflection.ICustomAttributeProvider obj, System.Boolean inherit) [0x00024] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Reflection.MonoMethod.GetCustomAttributes (System.Boolean inherit) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at HarmonyLib.PatchTools+<>c__DisplayClass2_0.<GetPatchMethod>b__0 (System.Reflection.MethodInfo m) [0x00000] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at System.Linq.Enumerable.TryGetFirst[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00000] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at HarmonyLib.PatchTools.GetPatchMethod (System.Type patchType, System.String attributeName) [0x00018] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.PatchClassProcessor..ctor (HarmonyLib.Harmony instance, System.Type type) [0x000a1] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.Harmony.CreateClassProcessor (System.Type type) [0x00000] in <2f5aaaa000594d07b9998f4cff1e9662>:0 
  at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00000] 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 <1f4c5a7d658c4522888fade7e74323ad>:0 
  at Ony.OxygenNotIncluded.ModManager.Loader.OnLoad (HarmonyLib.Harmony harmony) [0x00000] in <10c3636d3a4b41599d1a87c0f6516383>: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 <d35824e72985464e85149179dd14d71e>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <d35824e72985464e85149179dd14d71e>:0 
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <d35824e72985464e85149179dd14d71e>: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 <d35824e72985464e85149179dd14d71e>:0 
  at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <d35824e72985464e85149179dd14d71e>:0 
  at LaunchInitializer.Update () [0x00000] in <1f4c5a7d658c4522888fade7e74323ad>:0 
Build: U46-552078-V
O-n-y commented 1 year ago

The issue you have - your version looks like outdated. The mod page have thoubleshoting how to fix it.

Please follow instuction before posting your issue: https://github.com/O-n-y/oxy.mods

Once you confirmed you on the last version of the mod and made all steps, repost it properly.