MRTK3 Integration
Overviewβ
Thanks to XREAL SDK 3.0.0's integration with XR Hands, developers can seamlessly combine MRTK3 with XREAL SDK for enhanced mixed reality experiences.
Prerequisitesβ
- MRTK3 base project
- XREAL SDK 3.0.0
- XR Hands
Integration Stepsβ
1. SDK Importβ
Import the XREAL SDK into your MRTK3 project. For detailed import instructions, please refer to the Getting Started with XREAL SDK.
2. Hand Tracking Setupβ
- Navigate to the HandInteractionExamples scene or your own scene
- Locate the MRTK XR Rig in your scene hierarchy
- In the Inspector, click on the currently used Input Action Asset
- This will locate the asset in your Project window
- Select the asset and click on
XREAL -> Setup Hand Tracking
in the menu bar
3. MRTK Profile Configurationβ
- Locate the MRTK Profile in your Project window
- Enable the following options:
- Unity XR Hands
- Unity XR SDK Hand Data
- Disable:
- Mixed Reality OpenXR Plugin Hands
- Mixed Reality OpenXR Plugin Hands
4. XR Plugin Management Settingsβ
- Open Player Settings
- Navigate to XR Plug-in Management
- Configure the following:
- Enable XREAL
- Disable OpenXR
- In the XREAL settings:
- Set Initial Input Source to "Hands"
- Set Initial Input Source to "Hands"
Building and Deploymentβ
After completing the above steps, your project is ready for building and deployment to XREAL devices.
Additional Resourcesβ
Troubleshootingβ
If you encounter any issues during integration, please ensure:
- All required packages are properly imported
- SDK versions are compatible
- All configuration steps have been followed precisely