MonoAbort
Cause a crash by triggering a fatal error in the CoreCLR scripting runtime.
Read time 1 minuteLast updated 22 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Diagnostics
- Assembly: UnityEngine.CoreModule
MonoAbort = 4
Remarks
Unity logs the error as fatal and the crash dump includes the managed stack trace. This category is only supported on the CoreCLR scripting backend. On IL2CPP, calling Utils.ForceCrash with this category throws an ArgumentException instead of crashing.