AccessViolation
Cause a crash by performing an invalid memory access. The invalid memory access is performed on each platform as follows:
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Field
- Namespace: UnityEngine.Diagnostics
- Assembly: UnityEngine.CoreModule
AccessViolation = 0
Remarks
OSX, Android: Invoked using raise(SIGSEGV);
Windows, Windows Store: Invoked using RaiseException with EXCEPTION_ACCESS_VIOLATION
Other: Invoked using int* p = NULL; *p = 5;