Frequently Asked Questions
1 Which Unity version is supported by NRSDK?
Please refer to Getting Started with NRSDK.
2 What are supported Android phones for hand tracking?
Hand Tracking has been fully tested on the following Android phones:
Device compatibility
To ensure optimal algorithm performance, it is recommended to use specific smartphone models and versions, as different manufacturers and Android versions may affect the algorithm's effectiveness.
- Samsung S22: OneUI 5.1
- Samsung S23: OneUI 5.1, OneUI 6.0
- HUAWEI P60 Pro: HarmonyOS 4.0.0
- OPPO Find X6 Pro: Android 13
Hand tracking can also run on devices besides the above, the stability however is not guaranteed. For the full compatibility list, please refer to Device Compatibility.
Influence of Unity Packaging on APK:
The current gesture recognition application supports only Android SDK Target API 29. Higher versions of the API may activate enhanced security restrictions, which can affect access to SNPE resources.
3 Through which API can I get the user's device (XREAL Light/Air) my apk is running on?
NRDeviceType NRKernal.NRDeviceSubsystem.GetDeviceType()
4 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:
aaptOptions {
noCompress = ['.unity3d', '.ress', '.resource','unityStreamingAssets', '.obb'**STREAMING_ASSETS**]
}**SIGN**