Advertisement
Guest User

Untitled

a guest
Feb 27th, 2020
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.60 KB | None | 0 0
  1. Error while instantiating a mod of type Replace_Stuff.Mod: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method Verse.AcceptanceReport RimWorld.GenConstruct.CanPlaceBlueprintAt(Verse.BuildableDef, Verse.IntVec3, Verse.Rot4, Verse.Map, System.Boolean, Verse.Thing, Verse.Thing, Verse.ThingDef) ---> System.FormatException: Method Verse.AcceptanceReport RimWorld.GenConstruct.CanPlaceBlueprintAt(Verse.BuildableDef, Verse.IntVec3, Verse.Rot4, Verse.Map, System.Boolean, Verse.Thing, Verse.Thing, Verse.ThingDef) cannot be patched. Reason: Invalid IL code in (wrapper dynamic-method) RimWorld.GenConstruct:DMD<DMD<CanPlaceBlueprintAt_Patch1>?-1481511552::CanPlaceBlueprintAt_Patch1> (intptr,Verse.BuildableDef,Verse.IntVec3,Verse.Rot4,Verse.Map,bool,Verse.Thing,Verse.Thing,Verse.ThingDef): IL_012a: ldloc.s 8
  2.  
  3.  
  4. at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00092] in <87c4518cb3764543b99c085dbdc108a0>:0
  5. at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.PatchJobs`1+Job[T] job) [0x0015d] in <87c4518cb3764543b99c085dbdc108a0>:0
  6. --- End of inner exception stack trace ---
  7. at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00086] in <87c4518cb3764543b99c085dbdc108a0>:0
  8. at HarmonyLib.PatchClassProcessor.Patch () [0x00082] in <87c4518cb3764543b99c085dbdc108a0>:0
  9. at HarmonyLib.Harmony.<PatchAll>b__10_0 (System.Type type) [0x00007] in <87c4518cb3764543b99c085dbdc108a0>:0
  10. at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <87c4518cb3764543b99c085dbdc108a0>:0
  11. at HarmonyLib.Harmony.PatchAll (System.Reflection.Assembly assembly) [0x00006] in <87c4518cb3764543b99c085dbdc108a0>:0
  12. at HarmonyLib.Harmony.PatchAll () [0x0001b] in <87c4518cb3764543b99c085dbdc108a0>:0
  13. at Replace_Stuff.Mod..ctor (Verse.ModContentPack content) [0x00018] in <411bba4559384eabbcfdf55242402133>:0
  14. at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&)
  15. at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in <567df3e0919241ba98db88bec4c6696f>:0
  16. --- End of inner exception stack trace ---
  17. at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in <567df3e0919241ba98db88bec4c6696f>:0
  18. at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in <567df3e0919241ba98db88bec4c6696f>:0
  19. at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
  20. at System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) [0x00213] in <567df3e0919241ba98db88bec4c6696f>:0
  21. at System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) [0x00095] in <567df3e0919241ba98db88bec4c6696f>:0
  22. at System.Activator.CreateInstance (System.Type type, System.Object[] args) [0x00000] in <567df3e0919241ba98db88bec4c6696f>:0
  23. at Verse.LoadedModManager.CreateModClasses () [0x00076] in <a12d1ce36500429788a966a010bef562>:0
  24. Verse.Log:Error(String, Boolean)
  25. Verse.LoadedModManager:CreateModClasses()
  26. Verse.LoadedModManager:LoadAllActiveMods()
  27. Verse.PlayDataLoader:DoPlayLoad()
  28. Verse.PlayDataLoader:LoadAllPlayData(Boolean)
  29. Verse.<>c:<Start>b__6_1()
  30. Verse.LongEventHandler:RunEventFromAnotherThread(Action)
  31. Verse.<>c:<UpdateCurrentAsynchronousEvent>b__27_0()
  32. System.Threading.ThreadHelper:ThreadStart_Context(Object)
  33. System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
  34. System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
  35. System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
  36. System.Threading.ThreadHelper:ThreadStart()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement