Table of Contents

Diagnostics controller component reference

Switch to API

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

alt text

Default component screenshot.

The DiagnosticsController component window consists of three parts: component configuration, Assembly preview, and session validation 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 to developer mode.
Message Output Message output options.
        Session Dump Session state dump output method. Options:
  • UI: Displayed on UI and updated every frame. On head-mounted devices, displayed 5 meters in front of the eyes.
  • Log: Output to system log. Since output occurs every frame, it affects runtime performance. Recommended for use during development or testing.
  • None: No output.
        Sense Error Sense Error output method, usually related to EasyAR Sense license. Options:
  • UIAndLog: Output to UI and log. On head-mounted devices, displayed 5 meters in front of the eyes.
  • Log: Output to system log.
        Session Error Session Error output method, usually related to device not supporting certain features or incorrect configuration. Options:
  • UIAndLog: Output to UI and log. On head-mounted devices, displayed 5 meters in front of the eyes.
  • Log: Output to system log.
        Error Error output method. Options:
  • UIAndLog: Output to UI and log. On head-mounted devices, displayed 5 meters in front of the eyes.
  • Log: Output to system log.
        Warning Warning output method. Options:
  • UIAndLog: Output to UI and log. On head-mounted devices, displayed 5 meters in front of the eyes.
  • Log: Output to system log.
        Show Editor Dialog On Fatal In the editor, display a dialog when a Sense Error or Session Error occurs.

Assembly preview

Assembly preview is only visible in edit mode. Displays the components that the current session will select during assembly based on AssembleOptions. This is a reference and may differ from the components ultimately assembled during session runtime.

Session validation tool

The session validation tool helps developers quickly validate session workflows and perform simulated runs using EIF files in the Unity editor.