Microtube Docs
Developers / Guides / Unity integration

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).

RuntimeBest forTutorial
OpenXRCross-vendor Quest / Pico / HoloLensOpenXR tutorial ↗
Meta OVRMeta Quest 2 / 3 / 3SMeta OVR tutorial ↗
MRTKMicrosoft HoloLensMRTK tutorial ↗

Set up the project

  1. Clone the tutorial for your runtime

    shell
    git clone https://github.com/MicrotubeTechnologies/HexR-developer-tutorial-XR.git
  2. Open it in Unity

    Unity 2022.3 LTS or newer. Let it resolve packages on first open.

  3. 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.

  4. 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.

Soon

A full C# API reference for Unity is on the way. Until then, the tutorial scenes show the current integration end to end.