# Abort

> Cause a crash by calling the abort() function.

## Definition

* **Type:** Field
* **Namespace:** [UnityEngine.Diagnostics](/engine/6000.5/script-reference/unityengine/diagnostics.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
Abort = 2
```
