# \#development

**URL:** https://forum.magicleap.cloud/tag/development/1.md

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

---

## [Can eye pose and gaze be queried directly in the Magic Leap 2 device/head coordinate frame?](https://forum.magicleap.cloud/t/can-eye-pose-and-gaze-be-queried-directly-in-the-magic-leap-2-device-head-coordinate-frame/7096)

<div class="topic-metadata">

**Author:** [@lzy](https://forum.magicleap.cloud/u/lzy)\
**Replies:** 1\
**Last updated:** [September 9, 2026, 11:35pm UTC](https://forum.magicleap.cloud/t/can-eye-pose-and-gaze-be-queried-directly-in-the-magic-leap-2-device-head-coordinate-frame/7096 "2026-09-09T23:35:34Z")

</div>

ML2 OS version: 1.10.0 Unity SDK version: 2.6.0 Host OS: MacOS Could you please confirm whether Magic Leap 2 can directly provide the following data in the device/head coordinate frame? Left eye position Right eye p…

---

## [ML2 Controller Loses Tracking](https://forum.magicleap.cloud/t/ml2-controller-loses-tracking/7060)

<div class="topic-metadata">

**Author:** [@jose.rocha](https://forum.magicleap.cloud/u/jose.rocha)\
**Replies:** 3\
**Last updated:** [July 9, 2026, 10:55pm UTC](https://forum.magicleap.cloud/t/ml2-controller-loses-tracking/7060 "2026-07-09T22:55:41Z")

</div>

Hi. I just noticed that ML2 Controller, in my app, loses tracking when the IR lights are not visible by the headset. I know that the controller can do SLAM and i can see it working, for example, in the device Settings …

---

## [Dynamically change PixelSensor settings](https://forum.magicleap.cloud/t/dynamically-change-pixelsensor-settings/7021)

<div class="topic-metadata">

**Author:** [@j.allard](https://forum.magicleap.cloud/u/j.allard)\
**Replies:** 0\
**Last updated:** [April 17, 2026, 1:42pm UTC](https://forum.magicleap.cloud/t/dynamically-change-pixelsensor-settings/7021 "2026-04-17T13:42:45Z")

</div>

Hello everyone, I am working on a project using PixelSensor API. My goal is to get the access to the World Center sensor, get frames, and eventually change back settings of the PixelSensor without restarting it. I star…

---

## [Get real world view?](https://forum.magicleap.cloud/t/get-real-world-view/7014)

<div class="topic-metadata">

**Author:** [@frigat](https://forum.magicleap.cloud/u/frigat)\
**Replies:** 1\
**Last updated:** [April 6, 2026, 7:07pm UTC](https://forum.magicleap.cloud/t/get-real-world-view/7014 "2026-04-06T19:07:57Z")

</div>

My team and I are developing an app using Unity. We’ve created a system for streaming video via WebRTC to our web app. I’m wondering if it’s possible to make the video stream more similar to the one in the official Hub a…

---

## [Auto Localisation on the Magic Leap 2](https://forum.magicleap.cloud/t/auto-localisation-on-the-magic-leap-2/7010)

<div class="topic-metadata">

**Author:** [@toby.browne](https://forum.magicleap.cloud/u/toby.browne)\
**Replies:** 4\
**Last updated:** [April 4, 2026, 10:10am UTC](https://forum.magicleap.cloud/t/auto-localisation-on-the-magic-leap-2/7010 "2026-04-04T10:10:14Z")

</div>

Hi. Simple question from me, but was not able to find the answer elsewhere. When I create more than one Space, I can manually localise into one of the spaces using the API or the Spaces app. Is there not a way to automa…

---

## [Localization without space](https://forum.magicleap.cloud/t/localization-without-space/6956)

<div class="topic-metadata">

**Author:** [@aw01](https://forum.magicleap.cloud/u/aw01)\
**Replies:** 4\
**Last updated:** [March 13, 2026, 9:53pm UTC](https://forum.magicleap.cloud/t/localization-without-space/6956 "2026-03-13T21:53:54Z")

</div>

Hello, i have a question regarding localization without a scanned Space. If I do not use a Space to localize to a specific environment, how does the ML2 localize itself relative to objects? Like do u use the Camera, Li…

---

## [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…

---

## [Unity Marker Tracking Delayed](https://forum.magicleap.cloud/t/unity-marker-tracking-delayed/6806)

<div class="topic-metadata">

**Author:** [@harperrhett](https://forum.magicleap.cloud/u/harperrhett)\
**Replies:** 2\
**Last updated:** [January 23, 2026, 7:05pm UTC](https://forum.magicleap.cloud/t/unity-marker-tracking-delayed/6806 "2026-01-23T19:05:39Z")

</div>

Unity Editor version: 6000.3.0f1 ML2 OS version: 1.12.1 Unity SDK version: 2.6.0 Host OS: Windows Hello! This is somewhat of a feature request and an issue. My team is using an Aruco tag to track a moving object. The…

---

## [Capturing images in the same quality as the magic leap 2 camera application](https://forum.magicleap.cloud/t/capturing-images-in-the-same-quality-as-the-magic-leap-2-camera-application/6607)

<div class="topic-metadata">

**Author:** [@j.sletterink](https://forum.magicleap.cloud/u/j.sletterink)\
**Replies:** 2\
**Last updated:** [January 15, 2026, 2:44pm UTC](https://forum.magicleap.cloud/t/capturing-images-in-the-same-quality-as-the-magic-leap-2-camera-application/6607 "2026-01-15T14:44:40Z")

</div>

Unity Editor version: 6000.0.58 ML2 OS version: 1.12.1 Host OS: Windows In our company we are developing an mixed reality application. We want to capture high quality images and video’s within the application. We have…

---

## [Exclusive Rendering in Secondary View?](https://forum.magicleap.cloud/t/exclusive-rendering-in-secondary-view/6733)

<div class="topic-metadata">

**Author:** [@zhhqu0305](https://forum.magicleap.cloud/u/zhhqu0305)\
**Replies:** 0\
**Last updated:** [December 17, 2025, 6:56pm UTC](https://forum.magicleap.cloud/t/exclusive-rendering-in-secondary-view/6733 "2025-12-17T18:56:10Z")

</div>

Unity Editor version: 6000.2.10f1 ML2 OS version: 1.12.0 Unity SDK version: 2.6.0 Host OS: Windows Hi, This is kind of a follow-up for this post made a while back. Our goal is still to capture where the eye gaze lan…

---

## [There is a significant offset between the holographic image and the object.](https://forum.magicleap.cloud/t/there-is-a-significant-offset-between-the-holographic-image-and-the-object/6695)

<div class="topic-metadata">

**Author:** [@738904555](https://forum.magicleap.cloud/u/738904555)\
**Replies:** 1\
**Last updated:** [December 16, 2025, 4:42pm UTC](https://forum.magicleap.cloud/t/there-is-a-significant-offset-between-the-holographic-image-and-the-object/6695 "2025-12-16T16:42:11Z")

</div>

ML2 OS: 1.12.1 ML2 Unity SDK: 2.6.0 We are using mesh data obtained from the interface below to display the holographic image, but there is a positional offset compared to the actual object. Could you please advise on …

---

## [Incredibly Long Build Times](https://forum.magicleap.cloud/t/incredibly-long-build-times/6660)

<div class="topic-metadata">

**Author:** [@harperrhett](https://forum.magicleap.cloud/u/harperrhett)\
**Replies:** 1\
**Last updated:** [December 2, 2025, 12:01am UTC](https://forum.magicleap.cloud/t/incredibly-long-build-times/6660 "2025-12-02T00:01:49Z")

</div>

Unity Editor version: 6000.0.59f2 ML2 OS version: 1.12.0 Unity SDK version: 2.6.0 Host OS: Windows I am experiencing build times of 10-30 minutes, where the build process stalls on compiling cpp for libil2cpp. Usuall…

---

## [Point cloud or Depth map stream to another device](https://forum.magicleap.cloud/t/point-cloud-or-depth-map-stream-to-another-device/2945)

<div class="topic-metadata">

**Author:** [@jasmine.santinelli](https://forum.magicleap.cloud/u/jasmine.santinelli)\
**Replies:** 2\
**Last updated:** [November 11, 2025, 6:15pm UTC](https://forum.magicleap.cloud/t/point-cloud-or-depth-map-stream-to-another-device/2945 "2025-11-11T18:15:37Z")

</div>

Good morning, I really need some advice on a research project I have to do. I need to send the acquisitions made by the Depth Camera (depth map or point clouds) to a computer connected to the same wireless network as m…

---

## [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…

---

## [Clarification on Magic Leap 2 Device Origin and Offset Alignment](https://forum.magicleap.cloud/t/clarification-on-magic-leap-2-device-origin-and-offset-alignment/6476)

<div class="topic-metadata">

**Author:** [@P.Gagelas](https://forum.magicleap.cloud/u/P.Gagelas)\
**Replies:** 1\
**Last updated:** [October 30, 2025, 8:01pm UTC](https://forum.magicleap.cloud/t/clarification-on-magic-leap-2-device-origin-and-offset-alignment/6476 "2025-10-30T20:01:25Z")

</div>

Hello, I am currently working with a rigid mount setup between the Magic Leap 2 and an external positioning system, for which we know the exact physical origin. To calculate and apply the position and rotation offset b…

---

## [Marker Tracking in Unreal Engine returns Camera Origin](https://forum.magicleap.cloud/t/marker-tracking-in-unreal-engine-returns-camera-origin/6422)

<div class="topic-metadata">

**Author:** [@mto\_ar](https://forum.magicleap.cloud/u/mto_ar)\
**Replies:** 1\
**Last updated:** [October 8, 2025, 8:51pm UTC](https://forum.magicleap.cloud/t/marker-tracking-in-unreal-engine-returns-camera-origin/6422 "2025-10-08T20:51:56Z")

</div>

Magic Leap SDK version: 1.8 Unreal Engine version: 5.4.4 ML2 OS version: 1.12 Marker tracking now only returns camera origin position when scanning qr codes. Set up the same as the Unreal engine marker tracking guide. …

---

## [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…

---

## [Custom ManualExposureTime](https://forum.magicleap.cloud/t/custom-manualexposuretime/6283)

<div class="topic-metadata">

**Author:** [@j.allard](https://forum.magicleap.cloud/u/j.allard)\
**Replies:** 3\
**Last updated:** [September 3, 2025, 3:19pm UTC](https://forum.magicleap.cloud/t/custom-manualexposuretime/6283 "2025-09-03T15:19:54Z")

</div>

Hello everyone, I am working on a project with PixelSensor API. My goal is to get the access to the World Center sensor and get the frame, and to change the exposure time of the sensor. I’ve already added the script ex…

---

## [Need Help with using Unity Meshing for Physics Collisions](https://forum.magicleap.cloud/t/need-help-with-using-unity-meshing-for-physics-collisions/6154)

<div class="topic-metadata">

**Author:** [@CaelanQuach](https://forum.magicleap.cloud/u/CaelanQuach)\
**Replies:** 7\
**Last updated:** [August 28, 2025, 11:22pm UTC](https://forum.magicleap.cloud/t/need-help-with-using-unity-meshing-for-physics-collisions/6154 "2025-08-28T23:22:51Z")

</div>

Give us as much detail as possible regarding the issue you’re experiencing: Unity Editor version: 6000.0.35f1 ML2 OS version: 1.12 Unity SDK version: 2.6 Host OS: (Windows) I am currently trying to create an app wh…

---

## [Making a full-screen 2D app](https://forum.magicleap.cloud/t/making-a-full-screen-2d-app/6259)

<div class="topic-metadata">

**Author:** [@l3jt](https://forum.magicleap.cloud/u/l3jt)\
**Replies:** 1\
**Last updated:** [August 26, 2025, 11:01pm UTC](https://forum.magicleap.cloud/t/making-a-full-screen-2d-app/6259 "2025-08-26T23:01:26Z")

</div>

I have an Android app (made for phones) that I want to use on my headset. But, the screen in the headset remains only as small as a phone screen is (a small rectangle), which is a problem because my app streams video, o…

---

## [No Metadata returned from GetSensorData](https://forum.magicleap.cloud/t/no-metadata-returned-from-getsensordata/6190)

<div class="topic-metadata">

**Author:** [@ccroncc8231](https://forum.magicleap.cloud/u/ccroncc8231)\
**Replies:** 7\
**Last updated:** [August 21, 2025, 9:50am UTC](https://forum.magicleap.cloud/t/no-metadata-returned-from-getsensordata/6190 "2025-08-21T09:50:59Z")

</div>

I am trying to get camera intrinsics but GetSensorData() is not giving any metadata in my app. DebugLog shows metaData.Length is 0 The device can correctly return and output metadata in another example app. I have no i…

---

## [XR Repositioning to match ArUco markers with world center](https://forum.magicleap.cloud/t/xr-repositioning-to-match-aruco-markers-with-world-center/6073)

<div class="topic-metadata">

**Author:** [@juanjose.garrido](https://forum.magicleap.cloud/u/juanjose.garrido)\
**Replies:** 2\
**Last updated:** [July 28, 2025, 2:35pm UTC](https://forum.magicleap.cloud/t/xr-repositioning-to-match-aruco-markers-with-world-center/6073 "2025-07-28T14:35:07Z")

</div>

Give us as much detail as possible regarding the issue you’re experiencing: Unity Editor version: Unity 6000.0.43f1 ML2 OS version: 1.12.0 Unity SDK version: 2.6 Host OS: Windows 11 Hello! I’m creating a multiplayer…

---

## [Recording User View While Unity App Accesses Camera](https://forum.magicleap.cloud/t/recording-user-view-while-unity-app-accesses-camera/5738)

<div class="topic-metadata">

**Author:** [@luke](https://forum.magicleap.cloud/u/luke)\
**Replies:** 6\
**Last updated:** [July 22, 2025, 8:33pm UTC](https://forum.magicleap.cloud/t/recording-user-view-while-unity-app-accesses-camera/5738 "2025-07-22T20:33:20Z")

</div>

Give us as much detail as possible regarding the issue you’re experiencing: 6000.0.023f1: 1.12.0: Android 10.0: Windows: I am working on an app for the magic leap 2 headset in Unity that utilizes the onboard camera …

---

## [Help with camera capture, data flow, and body alignment](https://forum.magicleap.cloud/t/help-with-camera-capture-data-flow-and-body-alignment/5946)

<div class="topic-metadata">

**Author:** [@MrZio](https://forum.magicleap.cloud/u/MrZio)\
**Replies:** 10\
**Last updated:** [July 16, 2025, 6:08pm UTC](https://forum.magicleap.cloud/t/help-with-camera-capture-data-flow-and-body-alignment/5946 "2025-07-16T18:08:23Z")

</div>

Hi, I’m working on an academic project using Magic Leap 2 and am hoping to get some advice. The goal is to capture images or videos of a person standing in front of the device, analyze these frames (e.g. using a remote …

---

## [Scanned marker's Pose at world origin](https://forum.magicleap.cloud/t/scanned-markers-pose-at-world-origin/6026)

<div class="topic-metadata">

**Author:** [@j.g.hoevenberg](https://forum.magicleap.cloud/u/j.g.hoevenberg)\
**Replies:** 1\
**Last updated:** [July 10, 2025, 5:38pm UTC](https://forum.magicleap.cloud/t/scanned-markers-pose-at-world-origin/6026 "2025-07-10T17:38:06Z")

</div>

Give us as much detail as possible regarding the issue you’re experiencing: Unity Editor version: Unity 6000.0.29f1 ML2 OS version: 1.12.0 Unity SDK version: 2.6.0 Host OS: (Windows) Error messages from logs (syntax…

---

## [Secondary Listener App](https://forum.magicleap.cloud/t/secondary-listener-app/6031)

<div class="topic-metadata">

**Author:** [@daniel.c.frazer](https://forum.magicleap.cloud/u/daniel.c.frazer)\
**Replies:** 1\
**Last updated:** [July 10, 2025, 5:21pm UTC](https://forum.magicleap.cloud/t/secondary-listener-app/6031 "2025-07-10T17:21:21Z")

</div>

Hi everyone, I’m currently learning Unity and working on a real-time visualization and data logging app. While I don’t have direct access to a Magic Leap 2 device yet, I’m planning to integrate with an existing proprieta…

---

## [Add #MAGICLEAP scripting define to all C# classes in SDK](https://forum.magicleap.cloud/t/add-magicleap-scripting-define-to-all-c-classes-in-sdk/5942)

<div class="topic-metadata">

**Author:** [@kudos](https://forum.magicleap.cloud/u/kudos)\
**Replies:** 1\
**Last updated:** [July 2, 2025, 3:46pm UTC](https://forum.magicleap.cloud/t/add-magicleap-scripting-define-to-all-c-classes-in-sdk/5942 "2025-07-02T15:46:14Z")

</div>

Hello, Have you considered wrapping each C# script in the ML2 OpenXR Unity SDK with the scripting define #if MAGICLEAP #endif so that it is easily compatible with Unity 6 build profiles? I am creating some Unity 6 proj…

---

## [Magic Leap 2 Not Booting](https://forum.magicleap.cloud/t/magic-leap-2-not-booting/5987)

<div class="topic-metadata">

**Author:** [@miguel\_ortiz8040](https://forum.magicleap.cloud/u/miguel_ortiz8040)\
**Replies:** 1\
**Last updated:** [July 2, 2025, 3:09pm UTC](https://forum.magicleap.cloud/t/magic-leap-2-not-booting/5987 "2025-07-02T15:09:27Z")

</div>

Device: Magic Leap 2 ML Hub version: Hub 3 (latest) System:Windows 10/11 The device does not boot properly and gets stuck indefinitely at the Magic Leap logo screen. Trying to boot into Fastboot mode by holding Vol– …

---

## [Cast Ray from ML MR camera to world](https://forum.magicleap.cloud/t/cast-ray-from-ml-mr-camera-to-world/5869)

<div class="topic-metadata">

**Author:** [@jose.rocha](https://forum.magicleap.cloud/u/jose.rocha)\
**Replies:** 14\
**Last updated:** [June 27, 2025, 11:49am UTC](https://forum.magicleap.cloud/t/cast-ray-from-ml-mr-camera-to-world/5869 "2025-06-27T11:49:39Z")

</div>

Hello. I’m trying to figure out how to properly instantiate objects in the world based on the mouse input over the ML MR camera sent to a desktop app. On the computer app, \[0,0\] is bottom-left, and \[1,1\] is top-right, …

---

## [Transparency issue with virtual objects 3D objects become black at zero transparency](https://forum.magicleap.cloud/t/transparency-issue-with-virtual-objects-3d-objects-become-black-at-zero-transparency/5705)

<div class="topic-metadata">

**Author:** [@t.ishiyama](https://forum.magicleap.cloud/u/t.ishiyama)\
**Replies:** 3\
**Last updated:** [June 25, 2025, 5:51am UTC](https://forum.magicleap.cloud/t/transparency-issue-with-virtual-objects-3d-objects-become-black-at-zero-transparency/5705 "2025-06-25T05:51:39Z")

</div>

Unity Editor version:2022.3.11f1 ML2 OS version:1.11.0 ■Issue ・We are developing an application using Unity that overlays virtual 3D objects onto real-world structures. ・When we decrease the transparency of these 3D …

[Next page](https://forum.magicleap.cloud/tag/development/1.md?match_all_tags=true&page=1&tags%5B%5D=development)
