HarmonyX
HarmonyX copied to clipboard
AccessViolationException
System.AccessViolationException
at HarmonyLib.Internal.RuntimeFixes.StackTraceFixes.GetMethodFix(System.Diagnostics.StackFrame)
at System.Diagnostics.StackTrace.ToString(TraceFormat)
at System.Exception.GetStackTrace(Boolean)
at System.Exception.ToString(Boolean, Boolean)
at System.String.Concat(System.Object, System.Object)
at System.Web.HttpRuntime.ReleaseResourcesAndUnloadAppDomain(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Can you give more information about the environment? Post the game log.
In asp.net (not core), when asp.net restart, iisexpress/w3wp crash. The stack trace from windows events.
What .NET framework is your application running in? IIRC Harmony (non-X) had limited support for .NET framework, but I believe it was only tested on 4.0