O-n-y / oxy.mods

Oxy.BugTracker
14 stars 2 forks source link

Error with new update on October 4th 2022 #97

Closed SapphireIceQueen closed 1 year ago

SapphireIceQueen commented 1 year ago

With the new update I have ONLY this mod enabled and this is the error I am getting:

Exception while loading mod WGSM at C:/Users/msand/OneDrive/Documents/Klei/OxygenNotIncluded/mods/Steam/1833427385. HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Boolean Ony.OxygenNotIncluded.WGSM.SettingsCache_GetCachedTrait::Prefix(System.String name, System.Boolean assertMissingTrait, System.Collections.Generic.Dictionary2<System.String, ProcGen.WorldTrait> ___traits, ProcGen.WorldTrait& __result) 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.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 <6ab6b57553ed449280aa2485c86e9aab>:0 at Ony.OxygenNotIncluded.WGSM.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 <6ab6b57553ed449280aa2485c86e9aab>: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 <1b5c2ff4f53d4a48b7159ed84d905978>:0 at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <1b5c2ff4f53d4a48b7159ed84d905978>:0 at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <1b5c2ff4f53d4a48b7159ed84d905978>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <6ab6b57553ed449280aa2485c86e9aab>:0 at KMod.Mod.Load (KMod.Content content) [0x00000] in <6ab6b57553ed449280aa2485c86e9aab>:0 at KMod.Manager.Load (KMod.Content content) [0x00000] in <6ab6b57553ed449280aa2485c86e9aab>:0 at Global.Awake () [0x00000] in <6ab6b57553ed449280aa2485c86e9aab>: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 <1b5c2ff4f53d4a48b7159ed84d905978>:0 at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <1b5c2ff4f53d4a48b7159ed84d905978>:0 at LaunchInitializer.Update () [0x00000] in <6ab6b57553ed449280aa2485c86e9aab>:0 Build: U43-525812-S

gpietz commented 1 year ago

Hello, I've also problems with this mod after the last update. I disabled all other mods and startet a new map but it keeps crashing. Here is the exception message:

MissingFieldException: Field 'FetchChore.tags' not found.

(wrapper dynamic-method) FetchChore.FetchChore.FindFetchTarget_Patch1(FetchChore,ChoreConsumerState) FetchChore+<>c.<.cctor>b__44_0 (Chore+Precondition+Context& context, System.Object data) (at <6ab6b57553ed449280aa2485c86e9aab>:0) Chore+Precondition+Context.RunPreconditions () (at <6ab6b57553ed449280aa2485c86e9aab>:0) Chore.CollectChores (ChoreConsumerState consumer_state, System.Collections.Generic.List1[T] succeeded_contexts, System.Collections.Generic.List1[T] failed_contexts, System.Boolean is_attempting_override) (at <6ab6b57553ed449280aa2485c86e9aab>:0) FetchChore.CollectChoresFromGlobalChoreProvider (ChoreConsumerState consumer_state, System.Collections.Generic.List1[T] succeeded_contexts, System.Collections.Generic.List1[T] failed_contexts, System.Boolean is_attempting_override) (at <6ab6b57553ed449280aa2485c86e9aab>:0) GlobalChoreProvider.CollectChores (ChoreConsumerState consumer_state, System.Collections.Generic.List1[T] succeeded, System.Collections.Generic.List1[T] failed_contexts) (at <6ab6b57553ed449280aa2485c86e9aab>:0) ChoreConsumer.FindNextChore (Chore+Precondition+Context& out_context) (at <6ab6b57553ed449280aa2485c86e9aab>:0) Brain.FindBetterChore (Chore+Precondition+Context& context) (at <6ab6b57553ed449280aa2485c86e9aab>:0) Brain.UpdateChores () (at <6ab6b57553ed449280aa2485c86e9aab>:0) Brain.UpdateBrain () (at <6ab6b57553ed449280aa2485c86e9aab>:0) MinionBrain.UpdateBrain () (at <6ab6b57553ed449280aa2485c86e9aab>:0) BrainScheduler+BrainGroup.RenderEveryTick (System.Single dt, System.Boolean isAsyncPathProbeEnabled) (at <6ab6b57553ed449280aa2485c86e9aab>:0) BrainScheduler.RenderEveryTick (System.Single dt) (at <6ab6b57553ed449280aa2485c86e9aab>:0) SimAndRenderScheduler+RenderEveryTickUpdater.Update (IRenderEveryTick updater, System.Single dt) (at <1b5c2ff4f53d4a48b7159ed84d905978>:0) UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) (at <1b5c2ff4f53d4a48b7159ed84d905978>:0) StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) (at <1b5c2ff4f53d4a48b7159ed84d905978>:0) StateMachineUpdater.RenderEveryTick (System.Single dt) (at <1b5c2ff4f53d4a48b7159ed84d905978>:0) Game.LateUpdate () (at <6ab6b57553ed449280aa2485c86e9aab>:0)

Build: U43-525812-SD

moosetwin0 commented 1 year ago

I've also been having this issue.

O-n-y commented 1 year ago

If you still have this issue - you have outdated versions. Current release version 2.3.1.20 fully compatible with last game version. Please read Throubleshoting at the mod page (this is Steam cache issue).