Oxygen Not Included

Oxygen Not Included

Customize Buildings (more capacity, less dupes)
Freaken Out 23 Feb, 2023 @ 12:42pm
not totally sure if this the mod but...
Exception while loading mod CustomizeBuildings at C:/Users/fr3ak/Documents/Klei/OxygenNotIncluded/mods/Steam/1818138009\archived_versions\531669.
HarmonyLib.HarmonyException: Patching exception in method static System.Boolean CustomizeBuildings.CompostManagerPatch::Prepare() ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.MissingFieldException: Field 'BedConfig.ID' not found.
at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <695d1cc93cca45069c528c15c9fdd749>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x000a8] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00009] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00027] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Activator.CreateInstance (System.Type type, System.Boolean nonPublic) [0x00020] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Activator.CreateInstance (System.Type type) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at Config.JsonFileManager.TryLoadConfiguration[T] (System.String path, T& state) [0x00044] in <690209b3cfcd461a9a3ec6b979ccc9e9>:0
at Config.Manager`1[T].get_State () [0x00091] in <690209b3cfcd461a9a3ec6b979ccc9e9>:0
at CustomizeBuildings.CompostManagerPatch.Prepare () [0x00000] in <690209b3cfcd461a9a3ec6b979ccc9e9>:0
at (wrapper managed-to-native) System.Reflection.MonoMethod.InternalInvoke(System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00032] in <695d1cc93cca45069c528c15c9fdd749>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00048] in <695d1cc93cca45069c528c15c9fdd749>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0
at HarmonyLib.PatchClassProcessor.RunMethod[S,T] (T defaultIfNotExisting, T defaultIfFailing, System.Func`2[T,TResult] failOnResult, System.Object[] parameters) [0x000e2] 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.RunMethod[S,T] (T defaultIfNotExisting, T defaultIfFailing, System.Func`2[T,TResult] failOnResult, System.Object[] parameters) [0x00121] in <2f5aaaa000594d07b9998f4cff1e9662>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00015] 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 <78df64db9f81466a987bb95b601e9104>:0
at CustomizeBuildings.FumiKMod.OnLoad (HarmonyLib.Harmony harmony) [0x0008a] in <690209b3cfcd461a9a3ec6b979ccc9e9>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <78df64db9f81466a987bb95b601e9104>: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 <addcb9bdd73c454398a14811a9320244>:0
at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <addcb9bdd73c454398a14811a9320244>:0
at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <addcb9bdd73c454398a14811a9320244>:0
at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <78df64db9f81466a987bb95b601e9104>:0
at KMod.Mod.Load (KMod.Content content) [0x00000] in <78df64db9f81466a987bb95b601e9104>:0
at KMod.Manager.Load (KMod.Content content) [0x00000] in <78df64db9f81466a987bb95b601e9104>:0
at Global.Awake () [0x00000] in <78df64db9f81466a987bb95b601e9104>: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 <addcb9bdd73c454398a14811a9320244>:0
at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <addcb9bdd73c454398a14811a9320244>:0
at LaunchInitializer.Update () [0x00000] in <78df64db9f81466a987bb95b601e9104>:0
Build: U45-544519-SD
< >
Showing 1-2 of 2 comments
Listlesslyricist 4 Jun, 2023 @ 10:39am 
Same issue
Fumihiko  [developer] 4 Jun, 2023 @ 12:21pm 
This is an update issue. Do this, then tell me your experience

Crashes on boot
Try installing Mod Updater or Mod Manager

Clearing the download cache, then unsubcribing, then resubscribing can help Link
< >
Showing 1-2 of 2 comments
Per page: 1530 50