O-n-y / oxy.mods

Oxy.BugTracker
14 stars 2 forks source link

Game crashing since update #78

Closed danielray2k closed 2 years ago

danielray2k commented 2 years ago

Hey Ony!

First of all thank you for all your nice mods and work! Those are so awesome and helpfull.

To my issue: Game Version: U41-497575-S Mod Version: 2.13.6.104 No more mods activated but game still crashing

Code Exception while loading mod ModManager at C:/Users/Patrick Benkö/Documents/Klei/OxygenNotIncluded/mods/Steam/1843965353. 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.IEnumerable1[T] source, System.Func2[T,TResult] predicate, System.Boolean& found) [0x0003f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.FirstOrDefault[TSource] (System.Collections.Generic.IEnumerable1[T] source, System.Func2[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.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 <1fe956de25214c5080ceb4d7f814c847>:0 at Ony.OxygenNotIncluded.ModManager.Loader.OnLoad (HarmonyLib.Harmony harmony) [0x00000] in :0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <1fe956de25214c5080ceb4d7f814c847>: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 <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 <1fe956de25214c5080ceb4d7f814c847>:0 at KMod.Mod.Load (KMod.Content content) [0x00000] in <1fe956de25214c5080ceb4d7f814c847>:0 at KMod.Manager.Load (KMod.Content content) [0x00000] in <1fe956de25214c5080ceb4d7f814c847>:0 at Global.Awake () [0x00000] in <1fe956de25214c5080ceb4d7f814c847>: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 <1fe956de25214c5080ceb4d7f814c847>:0 Build: U41-497575-S`

O-n-y commented 2 years ago

Please screenshot mods list in the game where Mod Manager version can be seen, from error it is looks to be you have an older version

DrDuckling951 commented 2 years ago

Mod crashing on build 497575-SD

Reproduce: 1) Get the latest version, 1.1.8.175 2) Diable all Mods 3) Restart ONI 4) Enable Research Manager 5) Restart (default) 6) Blackhole upon luanch Oni

Exception while loading mod ResearchManager at E:/Documents/Klei/OxygenNotIncluded/mods/Steam/1897096779. System.IO.IOException: Sharing violation on path E:\Documents\Klei\OxygenNotIncluded\mods\config\1897096779\config.json at 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) [0x0019e] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool) at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.IO.StreamReader..ctor (System.String path) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string) at System.IO.File.OpenText (System.String path) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Ony.OxygenNotIncluded.Configuration2[T,L].LoadConfig (System.String path) [0x00047] in <9b5fb67ef9d149d784f1411d3095d4ea>:0 at Ony.OxygenNotIncluded.Configuration2[T,L].LoadConfig () [0x0015c] in <9b5fb67ef9d149d784f1411d3095d4ea>:0 at Ony.OxygenNotIncluded.Configuration2[T,L].get_Instance () [0x0000f] in <9b5fb67ef9d149d784f1411d3095d4ea>:0 at Ony.OxygenNotIncluded.Configuration2[T,L].Save () [0x00012] in <9b5fb67ef9d149d784f1411d3095d4ea>:0 at Ony.OxygenNotIncluded.Configuration2[T,L].LoadConfig (System.String path) [0x000fc] in <9b5fb67ef9d149d784f1411d3095d4ea>:0 at Ony.OxygenNotIncluded.Configuration2[T,L].LoadConfig () [0x0015c] in <9b5fb67ef9d149d784f1411d3095d4ea>:0 at Ony.OxygenNotIncluded.Configuration2[T,L].get_Instance () [0x0000f] in <9b5fb67ef9d149d784f1411d3095d4ea>:0 at Ony.OxygenNotIncluded.ModInfo2[T,L]..ctor (System.Action configButtons, System.Boolean createSettingsWindow) [0x000ee] in <9b5fb67ef9d149d784f1411d3095d4ea>:0 at Ony.OxygenNotIncluded.StartUp3[O,T,L].Start () [0x00030] in <9b5fb67ef9d149d784f1411d3095d4ea>:0 at Ony.OxygenNotIncluded.ResearchManager.Loader.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <9b5fb67ef9d149d784f1411d3095d4ea>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <1fe956de25214c5080ceb4d7f814c847>: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 <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 <1fe956de25214c5080ceb4d7f814c847>:0 at KMod.Mod.Load (KMod.Content content) [0x00000] in <1fe956de25214c5080ceb4d7f814c847>:0 at KMod.Manager.Load (KMod.Content content) [0x00000] in <1fe956de25214c5080ceb4d7f814c847>:0 at Global.Awake () [0x00000] in <1fe956de25214c5080ceb4d7f814c847>: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 <1fe956de25214c5080ceb4d7f814c847>:0 Build: U41-497575-SD`

O-n-y commented 2 years ago

This is outdated version, last version 2.13.6.104