Truinto / ONI-Modloader-SimpleMods

OxygenNotIncluded Mods
MIT License
16 stars 6 forks source link

crash #52

Closed ZeroCiel closed 7 months ago

ZeroCiel commented 7 months ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

[required] Debug Logs

Screenshots If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following infoException while loading mod PipedEverything at C:/Users/17128/Documents/Klei/OxygenNotIncluded/mods/Steam/3033409170. HarmonyLib.HarmonyException: Patching exception in method virtual System.Collections.Generic.List1<UnityEngine.GameObject> ComplexFabricator::SpawnOrderProduct(ComplexRecipe recipe) ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Exception: Exception of type 'System.Exception' was thrown. at PipedEverything.Patches.ComplexFabricator_Transpiler2 (System.Collections.Generic.IEnumerable1[T] instructions, System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase original) [0x0002f] in <9d3147d406794fd3943343b5b6856730>: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.CodeTranspiler+<>c__DisplayClass12_0.b0 (System.Reflection.MethodInfo transpiler) [0x0004b] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 at System.Collections.Generic.List1[T].ForEach (System.Action1[T] action) [0x00024] in <695d1cc93cca45069c528c15c9fdd749>:0 at HarmonyLib.CodeTranspiler.GetResult (System.Reflection.Emit.ILGenerator generator, System.Reflection.MethodBase method) [0x00020] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List1[T] transpilers, System.Collections.Generic.List1[T] endLabels, System.Boolean& hasReturnCode) [0x0014a] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Collections.Generic.List1[T] endLabels, System.Boolean& hasReturnCode) [0x00000] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 at HarmonyLib.MethodPatcher.CreateReplacement (System.Collections.Generic.Dictionary2[System.Int32,HarmonyLib.CodeInstruction]& finalInstructions) [0x002be] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00057] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x000bb] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 --- End of inner exception stack trace --- at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x0010f] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 at HarmonyLib.PatchClassProcessor.Patch () [0x00093] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 at HarmonyLib.Harmony.b10_0 (System.Type type) [0x00007] in <6dcb326e4f6442999f701f1e67d0b5a0>:0 at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable1[T] sequence, System.Action1[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 <1430cfcabd234631a47aa5b42a1f75d7>:0 at PipedEverything.FumiKMod.OnLoad (HarmonyLib.Harmony harmony) [0x0003c] in <9d3147d406794fd3943343b5b6856730>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00222] in <1430cfcabd234631a47aa5b42a1f75d7>: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 <1e2b7d5db95c4d6b84eabb7ca0270927>:0 at DebugUtil.LogErrorArgs (UnityEngine.Object context, System.Object[] objs) [0x00000] in <1e2b7d5db95c4d6b84eabb7ca0270927>:0 at DebugUtil.LogException (UnityEngine.Object context, System.String errorMessage, System.Exception e) [0x00000] in <1e2b7d5db95c4d6b84eabb7ca0270927>:0 at KMod.DLLLoader.LoadDLLs (KMod.Mod ownerMod, System.String harmonyId, System.String path, System.Boolean isDev) [0x00000] in <1430cfcabd234631a47aa5b42a1f75d7>:0 at KMod.Mod.Load (KMod.Content content) [0x00000] in <1430cfcabd234631a47aa5b42a1f75d7>:0 at KMod.Manager.Load (KMod.Content content) [0x00000] in <1430cfcabd234631a47aa5b42a1f75d7>:0 at Global.Awake () [0x00000] in <1430cfcabd234631a47aa5b42a1f75d7>: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 <1e2b7d5db95c4d6b84eabb7ca0270927>:0 at Util.KInstantiate (UnityEngine.GameObject original, UnityEngine.GameObject parent, System.String name) [0x00000] in <1e2b7d5db95c4d6b84eabb7ca0270927>:0 at LaunchInitializer.Update () [0x00000] in <1430cfcabd234631a47aa5b42a1f75d7>:0 Build: U50-583005-Srmation):**

Additional context Add any other context about the problem here.

Truinto commented 7 months ago

Not up to date. This bug was already fixed.

Try installing Mod Updater or Mod Manager. Or unsubscribe, start game, stop game, clear download cache Link, then resubscribe.