Unity integration
Add HEXR haptics to a Unity project through the runtime plugin that matches your headset.
Choose your runtime
HEXR plugs into Unity through one of three runtimes. Pick the one your project already uses — each ships as a complete tutorial project (the HEXR package plus a working demo scene).
| Runtime | Best for | Tutorial |
|---|---|---|
| OpenXR | Cross-vendor Quest / Pico / HoloLens | OpenXR tutorial ↗ |
| Meta OVR | Meta Quest 2 / 3 / 3S | Meta OVR tutorial ↗ |
| MRTK | Microsoft HoloLens | MRTK tutorial ↗ |
Set up the project
Clone the tutorial for your runtime
shellgit clone https://github.com/MicrotubeTechnologies/HexR-developer-tutorial-XR.gitOpen it in Unity
Unity 2022.3 LTS or newer. Let it resolve packages on first open.
Open the demo scene
Each tutorial ships a scene that already wires HEXR to your headset's hand-tracking — a working reference to build from.
Pair the glove
Power on the HEXR glove and confirm it in the companion app before pressing Play. See Calibration & fit.
Supported devices
HEXR relies on your headset (or an external tracker) for hand position and adds the touch layer on top — see Working with hand-tracking.
- Meta Quest 2, Quest 3, Quest 3S
- Pico 4
- Microsoft HoloLens
- Leap Motion (external hand-tracking)
A full C# API reference for Unity is on the way. Until then, the tutorial scenes show the current integration end to end.