Table of Contents

XREAL engineering configuration method

This chapter describes how to configure the Unity project to use EasyAR features on XREAL headsets.

Preparation work

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

Currently only supports XREAL SDK >= 3.1

Enable XREAL plugin

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

  2. Configure License Asset as XREAL enterprise license in Project Settings > XR Plug-in Management > XREAL
    addxreallicense

Note

On XREAL, when Frame Recorder's Format is Auto or H264, the recorded data quality is intentionally reduced. Mega's success rate and accuracy are compromised, making PC results only for reference.

Note

To submit issue data to EasyAR, set Format to Obsolete in ARSession's Frame Recorder for recording. Note: must call stop (set enabled to false) after recording, otherwise data is unusable. Unity will show "encrypted data" error when playing such recordings—this is normal.