Skip to Content

XREAL One Pro SDK Usage Guide

Overview

This document provides step-by-step instructions for setting up and building a Unity project using the XREAL One Pro SDK.


1. Download the Sample Project

Download the sample project from the following link:

Download Sample Project 


2. Extract and Open in Unity

  1. Extract the downloaded .zip file.
  2. Open the project using Unity.
  3. Follow the setup instructions provided in the README file included in the project.

3. Request Block Mesh

Contact the support team to obtain the block mesh for the target experience location.


4. Import Required Package

Import the following Unity package:

com.unity.cloud.gltfast

You can install it via:

  • Window → Package Manager
  • Add package by name: com.unity.cloud.gltfast

5. Import Block Mesh into the Scene

  1. Add the provided block mesh to the scene.
  2. Reset its Transform values:
    • Position: (0, 0, 0)
    • Rotation: (0, 0, 0)
    • Scale: (1, 1, 1)

6. Build the Project

  1. Open the XREALTracking scene.
  2. Go to File → Build Settings.
  3. Select Android as the target platform.
  4. Click Build.

Notes

  • Ensure Android Build Support is installed in Unity.
  • Verify that XR settings and required permissions are properly configured before building.
Last updated on