# actionOnDotNetUnhandledException

> Sets the crash behavior on.NET unhandled exception.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static ActionOnDotNetUnhandledException actionOnDotNetUnhandledException { get; set; }
```

### Remarks

The options are `ActionOnDotNetUnhandledException.Crash` (the application crashes hardly and forces iOS to generate a crash report that can be submitted to iTunes by app users and inspected by developers) and `ActionOnDotNetUnhandledException.Silent Exit` (the application exits gracefully).
