Table of Contents

XREAL project configuration method

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

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 (Trial, self-activated on the EasyAR website)
    • EasyAR Sense 4.x XR License Commercial (Paid use, please contact sales to purchase and activate)
    • EasyAR Sense 4.x XR License Enterprise (For Enterprise SDK use) Other licenses are not supported.
  • Please obtain the XREAL Enterprise License through sales (Note: this License is a file distributed by XREAL and is different from the EasyAR License).
  • Download and import the XREAL SDK
  • Download and import the EasyAR Unity package
  • Refer to Android project configuration
Note

Currently only XREAL SDK >= 3.1 is supported.

Enable XREAL plugin

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

  2. Configure License Asset in Project Settings > XR Plug-in Management > XREAL to the XREAL Enterprise License addxreallicense

Note

On XREAL, if the Format of Frame Recorder is Auto or H264, the recorded data data quality is intentionally reduced. The success rate and accuracy of Mega are reduced to varying degrees, so its running effect on the computer is for reference only.

Note

If you need to feed back problem data to EasyAR, please set the Format of Frame Recorder on ARSession to Obsolete for recording. Note that you must call stop (set enabled to false) after recording is complete, otherwise it cannot be used. The data recorded in this way will show that the data is encrypted and cannot be played when used in Unity, which is normal.