Oxygen Not Included

Oxygen Not Included

MiniBase
halogenDream 21 Sep, 2021 @ 1:26pm
Game crash when attempting to enable MB mod. User troubleshooting process + error report.
Attempting to enable the "Minibase" mod causes a game crash. Also the Options button is not visible in the mod menu.

IDK what to do, but this is the process I tried:

- Reinstall the game.
- Unsubscribe from all mods.
- Reinstall the game again.
- Resubscribe to and enable "Mod Updater" and "Mod Manager // by Ony" mods. Delete the "Minibase" mod files in the mod folders in the steamapps directory. Upon reloads, get continual "UNINSTALLED: Minibase" popups from MM upon loading the game, even when I'm not subscribed to the mod. There is a red entry for MB in the mod menu even though I'm not subscribed.
- Resubscribe to and attempt to enable "Minibase"; game crashes upon restarting when attempting to enable MB mod.
- Attempt to force MB mod update via MU. Game crashes upon restart.
- Unsubscribe from everything and delete all mod files in the Doccuments/Klei/OxygenNotIncluded/mods folder.
- Run local fine integrity check via Steam library.
- Resubscribe to "Mod Updater" and "Minibase" only. Enable MU. Game still crashes with attempting to enable MB.

BTW for this entire process, the MB mod shows up in red in the mod menus, and the Options button was never visible.

I hope this information is helpul for troubleshooting.

Error report below, generated with only MB and Mod Updater mods subscibed. MU mod was not enabled at the time; I was only attempting to enable MB mod.

---

Exception while loading mod MiniBase at C:/Users/SampleUser/Documents/Klei/OxygenNotIncluded/mods/Steam/2073611052.
HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Collections.Generic.IEnumerable`1<HarmonyLib.CodeInstruction> MiniBase.EntombedItemManager_AddMassToWorlIfPossible_Patch::Transpiler(System.Collections.Generic.IEnumerable`1<HarmonyLib.CodeInstruction> method)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] 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 <e29f62b80c9e4a9da170d249305d6eb7>:0
at MiniBase.MiniBasePatches.OnLoad (HarmonyLib.Harmony harmony) [0x00087] in <d64bf66b3f004ccbad5e1d0c21c76742>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <e29f62b80c9e4a9da170d249305d6eb7>: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 <8aff265564c342ea8e81986d8b66c79b>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <8aff265564c342ea8e81986d8b66c79b>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <8aff265564c342ea8e81986d8b66c79b>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <e29f62b80c9e4a9da170d249305d6eb7>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <e29f62b80c9e4a9da170d249305d6eb7>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <e29f62b80c9e4a9da170d249305d6eb7>:0
at Global.Awake () [0x00000] in <e29f62b80c9e4a9da170d249305d6eb7>: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 <8aff265564c342ea8e81986d8b66c79b>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <8aff265564c342ea8e81986d8b66c79b>:0
at LaunchInitializer.Update () [0x00000] in <e29f62b80c9e4a9da170d249305d6eb7>:0
Build: U35-479045-VD
< >
Showing 1-5 of 5 comments
Penthyn 16 Oct, 2021 @ 4:01am 
Same error here.
But I noticed some weird behavior.
I deleted all files of this mod and launched game. It filled with files and folders I would expect but game said it's outdated. So I used mod updater to force update the mod which deleted some files and folders from mod folder. I don't know if that's intentional or not but it's definitely strange.
halogenDream 17 Oct, 2021 @ 7:34pm 
I since had completely uninstalled the game, deleted all mod folders in both the steamapps and ~/Doccuments/Klei folders, and that finally got rid of the mod outdated popup. But then after resubscribing to the mod, I ended up having the same issue with the game crashing upon attempting to enable the MB mod.

It's been a few weeks since I last troubleshot, so I don't know if anything's changed.
Script1812 14 Nov, 2021 @ 4:14pm 
ye me too, i kinda get the same first error. rly wish this would be fixed
Script1812 27 Nov, 2021 @ 11:07am 
here is MY error code:

Exception while loading mod MiniBase at C:/Users/DCourtright/Documents/Klei/OxygenNotIncluded/mods/Steam/2073611052.
HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Collections.Generic.IEnumerable`1<HarmonyLib.CodeInstruction> MiniBase.EntombedItemManager_AddMassToWorlIfPossible_Patch::Transpiler(System.Collections.Generic.IEnumerable`1<HarmonyLib.CodeInstruction> method)
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00057] in <2f5aaaa000594d07b9998f4cff1e9662>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] 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 <e896d269f6ae44e0bc62b4052771721f>:0
at MiniBase.MiniBasePatches.OnLoad (HarmonyLib.Harmony harmony) [0x00087] in <d64bf66b3f004ccbad5e1d0c21c76742>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <e896d269f6ae44e0bc62b4052771721f>: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 <ce585c6702914031918b223c81cbf6be>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <ce585c6702914031918b223c81cbf6be>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <ce585c6702914031918b223c81cbf6be>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <e896d269f6ae44e0bc62b4052771721f>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <e896d269f6ae44e0bc62b4052771721f>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <e896d269f6ae44e0bc62b4052771721f>:0
at Global.Awake () [0x00000] in <e896d269f6ae44e0bc62b4052771721f>: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 <ce585c6702914031918b223c81cbf6be>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <ce585c6702914031918b223c81cbf6be>:0
at LaunchInitializer.Update () [0x00000] in <e896d269f6ae44e0bc62b4052771721f>:0
Build: U38-487396-VD
halogenDream 26 Feb, 2022 @ 12:52pm 
Update: I finally got the mod working again. Disabled all mods except Mod Updater mod and MB mod. Disabled DLC. Manually updated the MB mod in the mod manager window. There were a couple crashes through the resets to disable, update, and enable mods, but it seems to be stable now. Was able to re-enable my usual QOL mods, too.

I can play minibase again. :D
Last edited by halogenDream; 26 Feb, 2022 @ 12:52pm
< >
Showing 1-5 of 5 comments
Per page: 1530 50