Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

PlayerSettings.actionOnDotNetUnhandledException

Switch to Manual
public static ActionOnDotNetUnhandledException actionOnDotNetUnhandledException;

Description

Sets the crash behavior on .NET unhandled exception.

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).

Did you find this page useful? Please give it a rating: