class in UnityEngine.Diagnostics
/
Implemented in:UnityEngine.CoreModule
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.
CloseFor 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.
CloseA utility class that you can use for diagnostic purposes.
ForceCrash | Manually causes an application crash in the specified category. |
NativeAssert | Manually causes an assert that outputs the specified message to the log and registers an error. |
NativeError | Manually causes a native error that outputs the specified message to the log and registers an error. |
NativeWarning | Manually causes a warning that outputs the specified message to the log and registers an error. |
ValidateHeap | Scans the managed heap to check for corrupted objects. |