Version: 2020.2
LanguageEnglish
  • C#

Utils

class in UnityEngine.Diagnostics

/

Implemented in:UnityEngine.CoreModule

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

A utility class that you can use for diagnostic purposes.

Static Methods

ForceCrashManually causes an application crash in the specified category.
NativeAssertManually causes an assert that outputs the specified message to the log and registers an error.
NativeErrorManually causes a native error that outputs the specified message to the log and registers an error.
NativeWarningManually causes a warning that outputs the specified message to the log and registers an error.