Test reports
Trigger exceptions in the Unity Editor and view reports in the Unity Dashboard to test reports.
Read time 1 minuteLast updated a day ago
Triggering a test report
To test Diagnostics, trigger a report in the Unity Editor and view it in the Unity Dashboard. To create a report, throw an exception or log an exception message via theDebug.LogException()
Save the script and run your game in Play mode. When the exception occurs, the Editor console displays theDebug.LogException(new Exception("Testing Diagnostics reports"));
Debug.LogException
Viewing your test report
View Diagnostic reports from the Unity Dashboard:- Open your project in the Unity Dashboard.
- In the Project Overview tab, select View Diagnostics.
- The Issues section contains your test report. Select the title of the test report to view its data.
Batch mode support
Native crash reporting is supported when running Unity in -batchmode. Native crash reporting is also supported when running apps as a Server Build. When running in batch mode, you must specify both-username
-password