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: Display on UI and update every frame. On head-mounted devices, it is displayed 5 meters in front of the eyes.
  • Log: Output to system log. Since it outputs every frame, it affects 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, it is displayed 5 meters in front of the eyes.
  • Log: Output to system log.
        Session Error Session Error output method, usually related to unsupported device features or incorrect configurations. Options:
  • UIAndLog: Output to UI and log. On head-mounted devices, it is 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, it is 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, it is displayed 5 meters in front of the eyes.
  • Log: Output to system log.
        Show Editor Dialog On Fatal In the editor, display a dialog box when Sense Error or Session Error occurs.

Assembly preview

The Assembly preview is only visible in edit mode. Based on AssembleOptions, it displays the components that the current session will select during assembly. This is a reference and may differ from the components actually assembled during session runtime.

Session validation tool

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