Table of Contents

XREAL Engineering Configuration Method

This chapter introduces how to configure a Unity project to use EasyAR-related features on XREAL headsets.

Preparation

  • Obtain an EasyAR license suitable for XR headsets or glasses. The available license types for headsets or glasses include:
    • EasyAR Sense 4.x XR License Trial Version (trial, self-activated on the EasyAR website)
    • EasyAR Sense 4.x XR License Full Version (paid, please contact sales for purchase and activation)
    • EasyAR Sense 4.x XR License Enterprise Version (for enterprise SDK use)
      Other licenses are not supported.
  • Obtain the XREAL enterprise License through sales (note: this License is a file distributed by XREAL and is different from EasyAR’s License).
  • Download and import the XREAL SDK
  • Download and import the EasyAR Unity plugin package
  • Download and import the EasyAR Unity XR device extension package
  • Refer to Android project configuration
Note

Currently, only XREAL SDK >= 3.1 is supported.

Enable XREAL Plugin

  1. In Project Settings > XR Plug-in Management > XREAL, check Enable Native Session Manager
    enablenativesession

  2. In Project Settings > XR Plug-in Management > XREAL, configure License Asset as the XREAL enterprise license
    addxreallicense

Note

On XREAL, if the Format of Frame Recorder is set to Auto or H264, the recorded data quality is intentionally reduced, and the success rate and accuracy of Mega are affected to varying degrees. Therefore, its performance on a computer is only for reference.

Note

If you need to report issue data to EasyAR, set the Format of Frame Recorder on ARSession to Obsolete for recording. Note that you must call stop (set enabled to false) after recording; otherwise, the data cannot be used. The recorded data will show as encrypted and unplayable in Unity, which is normal.