Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Show Industrial Machinery Tag" mod fails since Frosty DLC #187

Open
SchlauFuchs opened this issue Aug 25, 2024 · 1 comment
Open

"Show Industrial Machinery Tag" mod fails since Frosty DLC #187

SchlauFuchs opened this issue Aug 25, 2024 · 1 comment

Comments

@SchlauFuchs
Copy link

SchlauFuchs commented Aug 25, 2024

Activating the mod leads to game crash

To Reproduce
Steps to reproduce the behavior:

  1. Activate the mod with current version. Might need Frosty DLC to be purchased, IDK

Expected behavior
No crash.

Output log

Exception while loading mod Cairath.ShowIndustrialMachineryTag at D:/Users/kaiha/Documents/Klei/OxygenNotIncluded/mods/Steam/1706080287. 
HarmonyLib.HarmonyException: Patching exception in method null ---> System.ArgumentException: Undefined target method for patch method static System.Void ShowIndustrialMachineryTag.SimpleInfoScreen_SetPanels_Patch::Postfix(SimpleInfoScreen& __instance, UnityEngine.GameObject target)
  at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase& lastOriginal) [0x00047] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 
  at HarmonyLib.PatchClassProcessor.Patch () [0x00068] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 
   --- End of inner exception stack trace ---
  at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00127] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 
  at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 
  at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 
  at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 
  at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 
  at KMod.UserMod2.OnLoad (HarmonyLib.Harmony harmony) [0x00007] in <ade4ebd17f71495b9476a7e52f977fe6>:0 
  at ShowIndustrialMachineryTag.ShowIndustrialMachineryTagMod.OnLoad (HarmonyLib.Harmony harmony) [0x0000b] in <6a4b8eb808704928bbb66542d588ae80>:0 
  at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <ade4ebd17f71495b9476a7e52f977fe6>: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 <42a58da1d7eb4994b452d944564c213e>:0 
  at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0 
  at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0 
  at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0 
  at KMod.Mod.Load (KMod.Content content) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0 
  at KMod.Manager.Load (KMod.Content content) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0 
  at Global.Awake () [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>: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 <42a58da1d7eb4994b452d944564c213e>:0 
  at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0 
  at LaunchInitializer.Update () [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0 
Build: U52-626616-SCD
@Violist4Life
Copy link

Wanted to bump this comment - crashes on load for me as well. Only have Spaced Out DLC.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants