🕶️
NRSDK(Old)
New DocumentationSDK DownloadAPI Reference
v2.2.1
v2.2.1
  • NRSDK Fundamentals
    • NRSDK Overview
    • XREAL Devices
      • XREAL Glasses
      • Controller
      • Compatibility
    • Getting Started with NRSDK
    • Sample Code
    • Tutorials
    • Release Note
      • NRSDK 2.2.1
      • NRSDK 2.2.0
      • NRSDK 2.1.1
      • NRSDK 2.1.0
      • NRSDK 1.10.2
      • NRSDK 1.9.5
      • NRSDK 1.9.3
      • NRSDK 1.9.1
      • NRSDK 1.8.0
      • NRSDK 1.7.0
      • NRSDK 1.6.0
  • Development
    • Input and Camera
      • NRInput
      • Interact with Unity UI (Tutorial)
      • Customize Controller UI
      • NRCameraRig
    • Hand Tracking
    • Image Tracking
      • XREAL Markers
    • Plane Detection (Tutorial)
      • Overview
      • Import the package
      • Detect planes in the real world
      • Perform a hit test against detected planes
      • Add a car
      • Add gems
      • Wrap up
    • Depth Mesh
      • Meshing Manager Overview
      • Use Meshes in the Editor
      • Tutorial: Mesh Collision
    • Spatial Anchor
      • Mapping Example Scene
      • Tutorial: Halloween Treasure Hunt
        • Handle the Situation of Failed Anchor Saving
      • Tutorial: Sharing Anchors
        • Setting Up Photon
        • Cloud Storage: Firebase (optional)
        • Cloud Storage: Aliyun OSS (optional)
        • Implementing Cloud Save and Load
        • Sharing Anchors with Photon
    • Tools
      • Single Pass Stereo Rendering
      • First Person View
      • Emulator
      • XR Streaming
      • Dual Screen Display
    • Miscellaneous
      • Access RGB Camera
      • NRSDK Coordinate Systems
      • MRTK2 Integration
      • MRTK3 Integration
      • Notification popup
      • Reset Camera
      • Render Metrics
      • Render MonoMode(Obsolete)
  • API Reference
  • Frequently Asked Questions
  • Design Guide
    • Design Guide Overview
    • Displaying
    • Interacting
    • Controlling
    • Navigating
Powered by GitBook
On this page

Was this helpful?

Frequently Asked Questions

PreviousRender MonoMode(Obsolete)NextDesign Guide Overview

Last updated 1 year ago

Was this helpful?

1 Which Unity version is supported by NRSDK?

Unity 2019.4.x and above. The LTS(long term support) Unity version is recommended.

2 How is the compatibility between different NRSDK and Android versions?

The following compatibility assumes the latest Nebula 2.3.4 is installed. Please set the target API level accordingly in Project Settings -> Player -> Target API Level when building the application.

NRSDK
Target API Level
Compatible Android Version

NRSDK 1.9.0

32

Android 12 and below

NRSDK 1.8.0

31

Android 12 and below

NRSDK 1.7.0

30

Android 11 and below

NRSDK 1.6.0

30

Android 11 and below

NRSDK 1.5.7

29

Android 10 and below

  • It is recommended to upgrade NRSDK integrated with your Unity project to the latest in order to adapt to the newest Android version. Alternatively, you may choose to configure target API Level to API level 29while building the application as a workaround to make your app run on newer Android systems and installed via tools. However, this is not recommended as it doesn't meet Google Play's target API level requirement.

3 What are supported Android phones for hand tracking?

Hand Tracking has been fully tested on the following Android phones:

  • XREAL Dev-Kit

  • OnePlus:9R / 7T / 8T / 8 Pro 5G

  • LG:V60 / V50S ThinQ 5G / V50 ThinQ 5G / G9 (Velvet 5G) / Wing

  • SONY:Xperia 5 II / Xperia 1

  • SAMSUNG:Galaxy Note20 5G / Galaxy S10+ / Galaxy S20+ 5G / Galaxy Z Fold 2 5G / Galaxy S21 5G / Galaxy Note20 Ultra / Galaxy Note10+ 5G / Galaxy A90 5G

  • OPPO: Find X2 / Find x2 Pro / Find x3 Pro

  • ZTE Axon 10 pro

  • Black Shark 2 Pro

Hand tracking can potentially run on devices besides the above, although stability is not guaranteed.

4 How many different versions does NRSDK have? What are they?

Experimental version includes features under experimental phases as introduced under EXPERIMENTAL section in this documentation.

For the Enterprise version, it is possible to access glasses raw data(grayscale camera & IMU) through its APIs.

5 Through which API can I get the user's device (XREAL Light/Air) my apk is running on?

NRDeviceType NRKernal.NRDeviceSubsystem.GetDeviceType()

6 Error occurs when building an apk

UnityException: Error
mainTemplate.gradle file is using the old aaptOptions noCompress property definition which does not include types defined by unityStreamingAssets constant.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:189)

Modify the file mainTemplate.gradle:

mainTemplate.gradle
aaptOptions {
        noCompress = ['.unity3d', '.ress', '.resource','unityStreamingAssets', '.obb'**STREAMING_ASSETS**]
    }**SIGN**

NRSDK has three different versions for each release. In most cases, you would get the normal version with the package name "NRSDKForUnityAndroid_x.x.x" from the . Apart from that, NRSDK also has Experimental and Enterprise versions.

If interested, please contact us through the to get access.

adb
official website
official website