Problem diagnosis and reporting in Unity development
When developing Unity-based plugins or applications, runtime exceptions or logic errors are sometimes unavoidable. To help developers quickly locate and resolve issues, Unity Plugin provides a series of built-in diagnostics and debugging tools. This chapter introduces these common debugging methods and auxiliary features, covering the full workflow from real-time log viewing and developer mode enabling to issue data collection and reporting.
-
Introduces how the runtime system displays errors, warnings, and other diagnostic information through the UI layer, and explains the classification standards and meanings of these messages to help quickly identify issue types.
-
Explains how to activate developer mode while the application is running, and the advanced debugging features available in this mode: visual debugging layers and EIF/EED file recording.
-
Explains in detail how to trigger and record EED files, which contain key events, sensor data, system status, and other context information. It also explains how to export these dump files from the device and use them for offline analysis.
-
Guides users to submit issue feedback in a standardized way, including logs, dump files, reproduction steps, and other required information, to improve issue handling efficiency.
Related feature components include:
DiagnosticsController component
This component is the core controller of the diagnostics system and is responsible for coordinating log recording, status monitoring, dump generation, and other features.