# OpenXR

**URL:** https://forum.magicleap.cloud/c/openxr/145.md

[Latest](https://forum.magicleap.cloud/latest.md) · [Categories](https://forum.magicleap.cloud/categories.md) · [Tags](https://forum.magicleap.cloud/tags.md)

---

## [About the OpenXR category](https://forum.magicleap.cloud/t/about-the-openxr-category/504)

<div class="topic-metadata">

**Author:** [@sengelman](https://forum.magicleap.cloud/u/sengelman)\
**Replies:** 0\
**Last updated:** [August 5, 2022, 7:33pm UTC](https://forum.magicleap.cloud/t/about-the-openxr-category/504 "2022-08-05T19:33:03Z")

</div>

Questions regarding developing with OpenXR and Magic Leap 2. See our template Topic for information on an effective inquiry.

---

## [Recurring native crashes in OpenXR perception runtime across multiple devices and apps](https://forum.magicleap.cloud/t/recurring-native-crashes-in-openxr-perception-runtime-across-multiple-devices-and-apps/6998)

<div class="topic-metadata">

**Author:** [@steve.rooney](https://forum.magicleap.cloud/u/steve.rooney)\
**Replies:** 7\
**Last updated:** [March 31, 2026, 12:22am UTC](https://forum.magicleap.cloud/t/recurring-native-crashes-in-openxr-perception-runtime-across-multiple-devices-and-apps/6998 "2026-03-31T00:22:31Z")

</div>

Hello, We are experiencing frequent, seemingly random native crashes on Magic Leap 2 devices across our fleet, all running OS build B3E.240905.12-R.038. These crashes occur on multiple different devices and persist acro…

---

## [Extending QR-Code Limit](https://forum.magicleap.cloud/t/extending-qr-code-limit/7005)

<div class="topic-metadata">

**Author:** [@b.stockleben](https://forum.magicleap.cloud/u/b.stockleben)\
**Replies:** 0\
**Last updated:** [March 31, 2026, 12:21am UTC](https://forum.magicleap.cloud/t/extending-qr-code-limit/7005 "2026-03-31T00:21:16Z")

</div>

We are currently porting our HoloLens 2 App to your platform and see a good chance of deploying the magic leap as our platform of choice. Our application’s use case is in a group setting, for the training of teams. To si…

---

## [Hologram Drift Issue When Tracking Object with Retroreflective Markers using Depth Camera (Raw data)](https://forum.magicleap.cloud/t/hologram-drift-issue-when-tracking-object-with-retroreflective-markers-using-depth-camera-raw-data/5618)

<div class="topic-metadata">

**Author:** [@alessandro.albanesi](https://forum.magicleap.cloud/u/alessandro.albanesi)\
**Replies:** 19\
**Last updated:** [February 3, 2026, 9:42pm UTC](https://forum.magicleap.cloud/t/hologram-drift-issue-when-tracking-object-with-retroreflective-markers-using-depth-camera-raw-data/5618 "2026-02-03T21:42:48Z")

</div>

Good afternoon everyone, I am developing an application for Magic Leap 2 that tracks an object equipped with retroreflective markers and overlays its holographic counterpart on the real object in real-time. Unity Edito…

---

## [XR\_ML\_pixel\_sensor extension status](https://forum.magicleap.cloud/t/xr-ml-pixel-sensor-extension-status/6523)

<div class="topic-metadata">

**Author:** [@emaschino](https://forum.magicleap.cloud/u/emaschino)\
**Replies:** 1\
**Last updated:** [October 30, 2025, 8:10pm UTC](https://forum.magicleap.cloud/t/xr-ml-pixel-sensor-extension-status/6523 "2025-10-30T20:10:29Z")

</div>

Hi, Just wanted to know if you could share some info regarding the acceptance of XR\_ML\_pixel\_extension by the Khronos Group? Is it still a work in progress or has it been deprecated by another mechanism/extension? It’s…

---

## [OpenXR Runtime Missing on ML2 → Plane Detection & Spatial Mapping Not Working](https://forum.magicleap.cloud/t/openxr-runtime-missing-on-ml2-plane-detection-spatial-mapping-not-working/6528)

<div class="topic-metadata">

**Author:** [@ZauberHut](https://forum.magicleap.cloud/u/ZauberHut)\
**Replies:** 1\
**Last updated:** [October 30, 2025, 8:07pm UTC](https://forum.magicleap.cloud/t/openxr-runtime-missing-on-ml2-plane-detection-spatial-mapping-not-working/6528 "2025-10-30T20:07:01Z")

</div>

Title: OpenXR Runtime Missing on ML2 → Plane Detection & Spatial Mapping Not Working (Only Stub Runtime Loaded) Body: Hi everyone, We are currently unable to get plane detection working on Magic Leap 2 when using Unity…

---

## [UI Toolkit and ML Rig](https://forum.magicleap.cloud/t/ui-toolkit-and-ml-rig/6518)

<div class="topic-metadata">

**Author:** [@michel.comin](https://forum.magicleap.cloud/u/michel.comin)\
**Replies:** 2\
**Last updated:** [October 29, 2025, 6:33pm UTC](https://forum.magicleap.cloud/t/ui-toolkit-and-ml-rig/6518 "2025-10-29T18:33:07Z")

</div>

Hi there, I’ve been trying to use UI Toolkit with Magic Leap 2 recently and I’ve found some issues while using the default ML Rig Prefab. As it is right now, it seems like ML Rig Controller Game Object doesn’t interact …

---

## [Rgb framerate is ignored and 0 timestamp on 25% of rgb frames](https://forum.magicleap.cloud/t/rgb-framerate-is-ignored-and-0-timestamp-on-25-of-rgb-frames/6372)

<div class="topic-metadata">

**Author:** [@kocsisa](https://forum.magicleap.cloud/u/kocsisa)\
**Replies:** 6\
**Last updated:** [October 20, 2025, 9:13am UTC](https://forum.magicleap.cloud/t/rgb-framerate-is-ignored-and-0-timestamp-on-25-of-rgb-frames/6372 "2025-10-20T09:13:12Z")

</div>

Unity Editor version: 2022.3.42f1 ML2 OS version: 1.12 MLSDK version: 1.12 Error messages from logs: no erorrs, but having invalid data and unexpected behaviour We use OpenXR for capturing depth and rgb frames we se…

---

## [Possibility to stream synchronously both DepthRaw and Depth32](https://forum.magicleap.cloud/t/possibility-to-stream-synchronously-both-depthraw-and-depth32/6318)

<div class="topic-metadata">

**Author:** [@alessandro.albanesi](https://forum.magicleap.cloud/u/alessandro.albanesi)\
**Replies:** 1\
**Last updated:** [September 14, 2025, 7:22pm UTC](https://forum.magicleap.cloud/t/possibility-to-stream-synchronously-both-depthraw-and-depth32/6318 "2025-09-14T19:22:13Z")

</div>

Hi everyone, I’m currently developing an application on Magic Leap 2 and I need clarification regarding the depth streaming capabilities. So far, I haven’t been able to confirm whether it’s possible to simultaneously s…

---

## [How to get pose of camera at time of frame capture in OpenXR (unity land)?](https://forum.magicleap.cloud/t/how-to-get-pose-of-camera-at-time-of-frame-capture-in-openxr-unity-land/6175)

<div class="topic-metadata">

**Author:** [@eric\_engineer](https://forum.magicleap.cloud/u/eric_engineer)\
**Replies:** 1\
**Last updated:** [August 11, 2025, 5:18pm UTC](https://forum.magicleap.cloud/t/how-to-get-pose-of-camera-at-time-of-frame-capture-in-openxr-unity-land/6175 "2025-08-11T17:18:07Z")

</div>

I have been trying a bunch of things but no luck so far. Is there a doc on how to do this? I found the one for the depreciated SDK but no the openxr unity approach. So how do you get the pose that corresponds to the pi…

---

## [OpenXR Hand Tracking and Gesture Accuracy](https://forum.magicleap.cloud/t/openxr-hand-tracking-and-gesture-accuracy/6126)

<div class="topic-metadata">

**Author:** [@olga.toltinova](https://forum.magicleap.cloud/u/olga.toltinova)\
**Replies:** 2\
**Last updated:** [August 11, 2025, 12:18pm UTC](https://forum.magicleap.cloud/t/openxr-hand-tracking-and-gesture-accuracy/6126 "2025-08-11T12:18:57Z")

</div>

Hello there, I am currently building an application in Unity using UI Poke Components from the XR Hands Demo Scene, facing frequent accuracy issues in gesture recognition. Pokes are not recognized in 10-20% of cases (see…

---

## [No controller in your example](https://forum.magicleap.cloud/t/no-controller-in-your-example/6158)

<div class="topic-metadata">

**Author:** [@eric\_engineer](https://forum.magicleap.cloud/u/eric_engineer)\
**Replies:** 4\
**Last updated:** [August 7, 2025, 4:11pm UTC](https://forum.magicleap.cloud/t/no-controller-in-your-example/6158 "2025-08-07T16:11:26Z")

</div>

A really frustrating week trying to make basic things work on the ML2. I’m using your MagicLeap Examples, I reinstalled from scratch. It builds but no controller ever. Debug log shows isTracked is false and yes the con…

---

## [QR code tracking accuracy](https://forum.magicleap.cloud/t/qr-code-tracking-accuracy/6119)

<div class="topic-metadata">

**Author:** [@oleksii.kryzhanovskyi](https://forum.magicleap.cloud/u/oleksii.kryzhanovskyi)\
**Replies:** 1\
**Last updated:** [August 4, 2025, 4:45pm UTC](https://forum.magicleap.cloud/t/qr-code-tracking-accuracy/6119 "2025-08-04T16:45:40Z")

</div>

Hello, I hope you’re doing well. I’m reaching out because I’m experiencing some challenges with tracking accuracy in my project, where precision is very important. I’m using a single QR code (15 cm size) with the follo…

---

## [Magic Leap 2 Unity OpenXR Project Not Working](https://forum.magicleap.cloud/t/magic-leap-2-unity-openxr-project-not-working/5683)

<div class="topic-metadata">

**Author:** [@rhyth.ghosh](https://forum.magicleap.cloud/u/rhyth.ghosh)\
**Replies:** 1\
**Last updated:** [May 27, 2025, 6:12pm UTC](https://forum.magicleap.cloud/t/magic-leap-2-unity-openxr-project-not-working/5683 "2025-05-27T18:12:08Z")

</div>

Hey everyone, I’m running into issues getting my Magic Leap 2 OpenXR project to work, and I could use some help organizing what might be going wrong. Unity version: 2022.3.21f1 (LTS) Magic Leap OS version: 1.12 ML SD…

---

## [Issue with Raycasting on Trackable Planes in Magic Leap 2](https://forum.magicleap.cloud/t/issue-with-raycasting-on-trackable-planes-in-magic-leap-2/5293)

<div class="topic-metadata">

**Author:** [@fabrizio.sangiorgi](https://forum.magicleap.cloud/u/fabrizio.sangiorgi)\
**Replies:** 6\
**Last updated:** [March 11, 2025, 1:07pm UTC](https://forum.magicleap.cloud/t/issue-with-raycasting-on-trackable-planes-in-magic-leap-2/5293 "2025-03-11T13:07:15Z")

</div>

Unity Editor version 2022.3.47f1: ML2 OS version: 1.12.0 MLSDK version: 2.6.0 Hi everyone, I am developing an application for Magic Leap 2 where I scan the environment for planes using the sample scene provided. Once…

---

## [Logging Controller Behaviour - Variably working](https://forum.magicleap.cloud/t/logging-controller-behaviour-variably-working/5058)

<div class="topic-metadata">

**Author:** [@wiltabone](https://forum.magicleap.cloud/u/wiltabone)\
**Replies:** 4\
**Last updated:** [January 29, 2025, 4:53pm UTC](https://forum.magicleap.cloud/t/logging-controller-behaviour-variably-working/5058 "2025-01-29T16:53:42Z")

</div>

Unity Editor version: 2022.3.38f1 Magic Leap MRTK3 1.2.0 MLSDK 2.4.0 Mixed Reality OpenXR Plugin 1.10.0 OpenXR Plugin 1.11.0 ML OS 1.9.0 Hi, I am trying to log bumper presses and trigger press values (bool and flo…

---

## [OpenXR and Vuforia tracker - marker is tracked but appears at the wrong place](https://forum.magicleap.cloud/t/openxr-and-vuforia-tracker-marker-is-tracked-but-appears-at-the-wrong-place/5048)

<div class="topic-metadata">

**Author:** [@localjoost](https://forum.magicleap.cloud/u/localjoost)\
**Replies:** 5\
**Last updated:** [January 23, 2025, 6:03pm UTC](https://forum.magicleap.cloud/t/openxr-and-vuforia-tracker-marker-is-tracked-but-appears-at-the-wrong-place/5048 "2025-01-23T18:03:43Z")

</div>

I have been trying to port (again) or company HoloLens 2 app to Magic Leap, and I was doing pretty well - until I came to the Vuforia part. This surprised me to no end, as earlier ports had no problem with this. Now the…

---

## [Device Localisation Logging](https://forum.magicleap.cloud/t/device-localisation-logging/4703)

<div class="topic-metadata">

**Author:** [@wiltabone](https://forum.magicleap.cloud/u/wiltabone)\
**Replies:** 2\
**Last updated:** [January 22, 2025, 1:51pm UTC](https://forum.magicleap.cloud/t/device-localisation-logging/4703 "2025-01-22T13:51:21Z")

</div>

Give us as much detail as possible regarding the issue you're experiencing. Unity Editor version: 2022.3.38f1 Magic Leap MRTK3 1.2.0 MLSDK 2.4.0 Mixed Reality OpenXR Plugin 1.10.0 OpenXR Plugin 1.11.0 ML OS 1.9.0 H…

---

## [Can choosing render mode: multi-pass have possible nasty side effects?](https://forum.magicleap.cloud/t/can-choosing-render-mode-multi-pass-have-possible-nasty-side-effects/4935)

<div class="topic-metadata">

**Author:** [@localjoost](https://forum.magicleap.cloud/u/localjoost)\
**Replies:** 1\
**Last updated:** [January 7, 2025, 4:31pm UTC](https://forum.magicleap.cloud/t/can-choosing-render-mode-multi-pass-have-possible-nasty-side-effects/4935 "2025-01-07T16:31:02Z")

</div>

To make a few shaders work, I have changed the apparently default render mode setting change to multi-pass: This makes the shaders work, and so far I haven't noticed any adverse side effects as far as I can see. Do y…

---

## [Speech commands in MRTK not working in OpenXR (Solved)](https://forum.magicleap.cloud/t/speech-commands-in-mrtk-not-working-in-openxr-solved/4912)

<div class="topic-metadata">

**Author:** [@localjoost](https://forum.magicleap.cloud/u/localjoost)\
**Replies:** 3\
**Last updated:** [January 7, 2025, 5:46am UTC](https://forum.magicleap.cloud/t/speech-commands-in-mrtk-not-working-in-openxr-solved/4912 "2025-01-07T05:46:51Z")

</div>

After vainly trying to get speech commands to work in my own app, I pulled your own Magic Leap MRTK code from Github switched to mrtk3\_MagicLeap2\_OpenXR Built the app with as only active scene the SpeechInputExamples s…

---

## [XR\_ML\_world\_mesh\_detection timing issue](https://forum.magicleap.cloud/t/xr-ml-world-mesh-detection-timing-issue/4588)

<div class="topic-metadata">

**Author:** [@simon.zeni](https://forum.magicleap.cloud/u/simon.zeni)\
**Replies:** 13\
**Last updated:** [December 12, 2024, 8:55pm UTC](https://forum.magicleap.cloud/t/xr-ml-world-mesh-detection-timing-issue/4588 "2024-12-12T20:55:35Z")

</div>

Hello there, I'm trying to get the XR\_ML\_world\_mesh\_detection extension working in my application. I followed the sample code 1 provided in the extension with very few modification, and it seems like the mesh detection …

---

## [Open XR inner planes detection](https://forum.magicleap.cloud/t/open-xr-inner-planes-detection/4707)

<div class="topic-metadata">

**Author:** [@IvanPetrov](https://forum.magicleap.cloud/u/IvanPetrov)\
**Replies:** 2\
**Last updated:** [December 2, 2024, 11:45pm UTC](https://forum.magicleap.cloud/t/open-xr-inner-planes-detection/4707 "2024-12-02T23:45:04Z")

</div>

What is the new OpenXR way of choosing either to detect Inner or Outer planes? From the deprecated page of MLDSK - there is inner flag, but I cannot find it how it's done with the OpenXR example. So currently im only …

---

## [Persistent World Coordinate After Space Localization](https://forum.magicleap.cloud/t/persistent-world-coordinate-after-space-localization/4587)

<div class="topic-metadata">

**Author:** [@amir79esmaeili](https://forum.magicleap.cloud/u/amir79esmaeili)\
**Replies:** 3\
**Last updated:** [November 7, 2024, 10:31pm UTC](https://forum.magicleap.cloud/t/persistent-world-coordinate-after-space-localization/4587 "2024-11-07T22:31:34Z")

</div>

Hello everyone. I'm fairly new to Unity and Magic Leap 2 and am trying to build an indoor navigation application using Unity and ML2. I have scanned my apartment, and it is stored in the Spaces app. When I start my appl…

---

## [Magic leap Eye Tracker API Pose](https://forum.magicleap.cloud/t/magic-leap-eye-tracker-api-pose/4582)

<div class="topic-metadata">

**Author:** [@daisy.t.gan1](https://forum.magicleap.cloud/u/daisy.t.gan1)\
**Replies:** 1\
**Last updated:** [November 6, 2024, 1:54am UTC](https://forum.magicleap.cloud/t/magic-leap-eye-tracker-api-pose/4582 "2024-11-06T01:54:37Z")

</div>

Give us as much detail as possible regarding the issue you're experiencing. Unity Editor version (if applicable): 2022.3.11f1 ML2 OS version:1.5.0 using open XR though MLSDK version: 1.9.0 Hello, I am currently tryi…

---

## [Controller stops tracking when hand is not on controller (when hand tracking is enabled)](https://forum.magicleap.cloud/t/controller-stops-tracking-when-hand-is-not-on-controller-when-hand-tracking-is-enabled/4484)

<div class="topic-metadata">

**Author:** [@shijin](https://forum.magicleap.cloud/u/shijin)\
**Replies:** 19\
**Last updated:** [October 23, 2024, 9:27pm UTC](https://forum.magicleap.cloud/t/controller-stops-tracking-when-hand-is-not-on-controller-when-hand-tracking-is-enabled/4484 "2024-10-23T21:27:53Z")

</div>

Hey ! So, the project that I am working on uses the controller to track a real world object by mounting the controller on the object. The controller will always be in direct view of the headset. I added hand tracking to …

---

## [OpenXR Unity - Need Help to Create Stand Alone App for Remote Render](https://forum.magicleap.cloud/t/openxr-unity-need-help-to-create-stand-alone-app-for-remote-render/4370)

<div class="topic-metadata">

**Author:** [@ZacharS1](https://forum.magicleap.cloud/u/ZacharS1)\
**Replies:** 4\
**Last updated:** [October 7, 2024, 1:44pm UTC](https://forum.magicleap.cloud/t/openxr-unity-need-help-to-create-stand-alone-app-for-remote-render/4370 "2024-10-07T13:44:19Z")

</div>

Give us as much detail as possible regarding the issue you're experiencing. Unity Editor version (if applicable): (Unity 2022.3.39f1) ML2 OS version: (1.9.0) MLSDK version: (2.4.0) Hello, I am in the process of dev…

---

## [Can I serialize a spatial anchor to a byte array in some way?](https://forum.magicleap.cloud/t/can-i-serialize-a-spatial-anchor-to-a-byte-array-in-some-way/4333)

<div class="topic-metadata">

**Author:** [@localjoost](https://forum.magicleap.cloud/u/localjoost)\
**Replies:** 1\
**Last updated:** [September 30, 2024, 5:39pm UTC](https://forum.magicleap.cloud/t/can-i-serialize-a-spatial-anchor-to-a-byte-array-in-some-way/4333 "2024-09-30T17:39:03Z")

</div>

Hi, On HoloLens 2, you can serialize anchors using XRAnchorTransferBatch if you use the Microsoft.MixedReality.OpenXR package. We utilize this possibility to build a kind of custom 'Azure Spatial Anchors'. Is there a po…

---

## [Working With Layers in OpenXR](https://forum.magicleap.cloud/t/working-with-layers-in-openxr/3623)

<div class="topic-metadata">

**Author:** [@greg.francis](https://forum.magicleap.cloud/u/greg.francis)\
**Replies:** 1\
**Last updated:** [June 11, 2024, 6:19pm UTC](https://forum.magicleap.cloud/t/working-with-layers-in-openxr/3623 "2024-06-11T18:19:02Z")

</div>

I'm currently modifying some OpenXR code we are currently using to render to a Meta Quest 2 using OpenGL for rendering. I'm running ML2 OS 1.7.0 and the remote render service. We are having some trouble rendering text to…

---

## [Locating ML2 physical camera in OpenXR](https://forum.magicleap.cloud/t/locating-ml2-physical-camera-in-openxr/2956)

<div class="topic-metadata">

**Author:** [@emaschino](https://forum.magicleap.cloud/u/emaschino)\
**Replies:** 23\
**Last updated:** [May 28, 2024, 11:00am UTC](https://forum.magicleap.cloud/t/locating-ml2-physical-camera-in-openxr/2956 "2024-05-28T11:00:09Z")

</div>

Hi, I would like to locate ML2 physical camera in OpenXR. I'm currently locating it using a VIEW reference space. The location returned by xrLocateSpace is however slightly erroneous. From what I understand, this is "e…

---

## [MAUI project on Android using OpenXR](https://forum.magicleap.cloud/t/maui-project-on-android-using-openxr/3494)

<div class="topic-metadata">

**Author:** [@Martin](https://forum.magicleap.cloud/u/Martin)\
**Replies:** 2\
**Last updated:** [May 7, 2024, 6:41am UTC](https://forum.magicleap.cloud/t/maui-project-on-android-using-openxr/3494 "2024-05-07T06:41:17Z")

</div>

Hi, I am trying to solve unexpected problems when using MAUI application on Magic Leap 2 OS 1.6.0. I prepared a minimalist demo to check the possibility of using Magic Leap 2 for our business, but I couldn't find a wor…

[Next page](https://forum.magicleap.cloud/c/openxr/145.md?page=1)
