XREAL SDK: Building AR Apps for XREAL Glasses
By AR Compare Team ·
The XREAL SDK is XREAL’s toolkit for building AR apps for its glasses in Unity. Version 3.0 adds hand tracking, spatial anchors and depth meshing, and works with Unity’s XR Interaction Toolkit (XRI) and AR Foundation, so apps built for other AR platforms are easier to move over. XREAL’s developer page is built around the Air 2 Ultra, its glasses with environment sensors.
The details come from XREAL’s developer site, read November 26, 2026. For other options, see best AR glasses for developers.
What the SDK does
| Feature | What it means |
|---|---|
| 6DoF spatial recognition | Tracks where the glasses are and how they turn, in real time |
| Image tracking | Places content on real images such as books, posters or logos |
| Hand tracking | Pinch, grab and swipe to control virtual objects |
| Plane detection | Finds floors, tables and walls to anchor content to |
| Depth meshing | Builds a 3D map of the room for occlusion and collisions |
| Spatial anchors | Keeps content in the same real-world spot, including for several users |
The developer hardware
XREAL’s developer page pairs the SDK with the XREAL Air 2 Ultra. It has 2 3D environment sensors for 6DoF tracking, hand and head tracking, and the features above; it doesn’t take photos or video. Spatial-computing apps were listed for Samsung Galaxy S22 and S23 phones with Snapdragon chips. The Air 2 Ultra is discontinued; for XREAL’s current models, see which XREAL glasses and best XREAL glasses. XREAL’s next platform is Android XR on the XREAL Aura; see Android XR SDK.
OpenXR and Linux
On the Khronos Group’s OpenXR conformance list, XREAL appears under its old name, Nreal, with the Nreal Light and Nreal X passing OpenXR 1.0 on September 28, 2022. See what is OpenXR.
On Linux, the open-source XR Linux Driver says XREAL is unwilling to collaborate, so XREAL support there runs on an unofficial open-source SDK. See how to use AR glasses on Linux.
Getting it
The SDK download, XREAL’s source code archives and its Discord and Reddit communities are linked from the developer site. XREAL’s developer contact is developer@xreal.com. For VITURE’s equivalent, see the VITURE SDK.
Frequently asked questions
What is the XREAL SDK?
XREAL's developer kit for building AR apps for its glasses. Version 3.0 adds hand tracking, spatial anchors and depth meshing, and supports Unity's XR Interaction Toolkit and AR Foundation.
Which XREAL glasses is the SDK built for?
XREAL's developer page is built around the Air 2 Ultra, which has 2 environment sensors for 6DoF tracking, hand tracking, plane detection and depth meshing.
Is XREAL OpenXR conformant?
The Khronos Group lists Nreal, XREAL's former name, as OpenXR 1.0 conformant for the Nreal Light and Nreal X from September 28, 2022. No newer XREAL entry appears on the list.
Does XREAL support Linux developers?
Not officially. The open-source XR Linux Driver says XREAL is unwilling to work with its developer, so Linux support for XREAL glasses uses an unofficial open-source SDK.