Cities: Skylines

Cities: Skylines

통계 보기:
denise 2025년 1월 8일 오후 2시 27분
has anyone seen this error?
System.Exception: A Mod caused an error ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> HarmonyLib.HarmonyException: Patching exception in method UnityEngine.Vector4 CitizenAI::GetPathTargetPosition(System.UInt16 instanceID, CitizenInstance+ citizenData, Frame+ frameData, System.Single minSqrDistance) ---> System.FormatException: Method UnityEngine.Vector4 CitizenAI::GetPathTargetPosition(System.UInt16 instanceID, CitizenInstance+ citizenData, Frame+ frameData, System.Single minSqrDistance) cannot be patched. Reason: Invalid IL code in (wrapper dynamic-method) CitizenAI:CitizenAI.GetPathTargetPosition_Patch0 (CitizenAI,uint16,CitizenInstance+,CitizenInstance/Frame+,single): IL_0d25: call 0x000002e3


at HarmonyLib.Memory.DetourMethodAndPersist (System.Reflection.MethodBase original, System.Reflection.MethodBase replacement) [0x00000] in <filename unknown>:0
at HarmonyLib.PatchFunctions.UpdateWrapper (System.Reflection.MethodBase original, HarmonyLib.PatchInfo patchInfo) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at HarmonyLib.PatchClassProcessor.ReportException (System.Exception exception, System.Reflection.MethodBase original) [0x00000] in <filename unknown>:0
at HarmonyLib.PatchClassProcessor.ProcessPatchJob (HarmonyLib.Job job) [0x00000] in <filename unknown>:0
at HarmonyLib.PatchClassProcessor.PatchWithAttributes (System.Reflection.MethodBase+ lastOriginal) [0x00000] in <filename unknown>:0
at HarmonyLib.PatchClassProcessor.Patch () [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <filename unknown>:0
at ColossalFramework.Plugins.PluginManager.AddPlugins (System.Collections.Generic.Dictionary`2 plugins) [0x00000] in <filename unknown>:0
--- End of inner exception stack trace ---
< >
전체 댓글 6개 중 1~6개 표시 중
buda atum 2025년 1월 9일 오전 1시 39분 
If you search for "Cities: Skylines System.Exception: A Mod caused an error", you'd find many have had this error. Some answers you get would also recommend solutions.
denise 2025년 1월 9일 오전 10시 34분 
Thank you for the message, I have looked and searched but I find no solutions.
MarkJohnson 2025년 1월 9일 오후 3시 18분 
Yeah, it says first thing that "A Mod caused an error"

You may have to go through and figure out which mod is throwing the error code.

Maybe, temporarily subscribe to the Skyve mod and have it scan for compatible mods.

Don't forget to unsubscribe Skyve when you're done.
denise 2025년 1월 11일 오전 9시 45분 
i am subscribed already to Skyve. I didn't know I am suppose to unsubscribe? Is that maybe the issue?
denise 2025년 1월 11일 오전 9시 45분 
i honestly don't even know how to use Skyve
MarkJohnson 2025년 1월 11일 오후 3시 04분 
i assumed you didn't have skyve subscribed. so ignore that part.

but check for mod compatibility.
< >
전체 댓글 6개 중 1~6개 표시 중
페이지당 표시 개수: 1530 50

게시된 날짜: 2025년 1월 8일 오후 2시 27분
게시글: 6