Utils
A utility class that you can use for diagnostic purposes.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine.Diagnostics
- Assembly: UnityEngine.CoreModule
public static class Utils
Static Methods
Method | Description |
|---|---|
| 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. |