Table of Contents

Diagnostics Controller Component Reference

Switch to API

Explore the properties in the DiagnosticsController component window to customize camera parameters.

alt text

Component screenshot under default conditions.

The DiagnosticsController component window consists of three parts: component configuration, Assembly preview, and session verification tool.

Component Configuration

Property Description
Developer Mode Switch Developer mode switch. You can use the default switch (triggered by tapping the screen 8 times), customize a switch, or provide an equivalent alternative for developer mode.
Message Output Message output options.
        Session Dump Session state dump output method. Options:
  • UI: Displayed in the UI and updated every frame. On head-mounted devices, it is displayed 5 meters in front of the eyes.
  • Log: Output to the system log. Because output occurs every frame, it affects runtime performance and is recommended for development or testing.
  • None: No output.
        Sense Error Sense Error output method, usually related to the EasyAR Sense license. Options:
  • UIAndLog: Output to UI and log. On head-mounted devices, it is displayed 5 meters in front of the eyes.
  • Log: Output to the system log.
        Session Error Session Error output method, usually related to unsupported device features or incorrect configuration. Options:
  • UIAndLog: Output to UI and log. On head-mounted devices, it is displayed 5 meters in front of the eyes.
  • Log: Output to the system log.
        Error Error output method. Options:
  • UIAndLog: Output to UI and log. On head-mounted devices, it is displayed 5 meters in front of the eyes.
  • Log: Output to the system log.
        Warning Warning output method. Options:
  • UIAndLog: Output to UI and log. On head-mounted devices, it is displayed 5 meters in front of the eyes.
  • Log: Output to the system log.
        Show Editor Dialog On Fatal In the editor, show a dialog when Sense Error or Session Error occurs.

Assembly Preview

Assembly preview is visible only in edit mode. It displays the components that the current session will choose during assembly according to AssembleOptions. This is only a reference and may differ from the components finally assembled when session runs.

session Verification Tool

The session verification tool helps developers quickly verify the session workflow in the Unity Editor and run simulation with EIF files.