# Is Getting Depth32 and DepthRaw atonce possible?

**URL:** <https://forum.magicleap.cloud/t/is-getting-depth32-and-depthraw-atonce-possible/3627>\
**Category:** Unity Development\
**Tags:** openxr, depth-camera, pixel-sensor\
**Created:** [June 11, 2024, 9:02am UTC](https://forum.magicleap.cloud/t/is-getting-depth32-and-depthraw-atonce-possible/3627 "2024-06-11T09:02:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kocsisa](https://avatars.discourse-cdn.com/v4/letter/k/ccd318/32.png) [@kocsisa](https://forum.magicleap.cloud/u/kocsisa)\
**Post date:** [June 11, 2024, 9:02am UTC](https://forum.magicleap.cloud/t/is-getting-depth32-and-depthraw-atonce-possible/3627/1 "2024-06-11T09:02:58Z")

</div>

I guess that the UnityEngine.XR.MagicLeap.MLDepthCamera and UnityEngine.XR.MagicLeap.MLWorldCamera will be obsolete as the UnityEngine.XR.MagicLeap.MLCamera, and OpenXR is to be used soon.

In OpenXR Depth camera parametres as I see the Format defines which buffer can be got; it is a uint which can be [4,5][Depth32,DepthRaw], so only one of them can be set.

In our current solution we use the DepthRaw for marker detection and the Depth32 for other object recognition.

Could you suggest any solution for getting both buffer in the future?

---

<div class="post-metadata">

**Author:** ![kocsisa](https://avatars.discourse-cdn.com/v4/letter/k/ccd318/32.png) [@kocsisa](https://forum.magicleap.cloud/u/kocsisa)\
**Post date:** [June 13, 2024, 7:51am UTC](https://forum.magicleap.cloud/t/is-getting-depth32-and-depthraw-atonce-possible/3627/3 "2024-06-13T07:51:35Z")

</div>

Hi **Krystian** ,

I can not open the [link removed]

I registered to slack ( I had to created a new Workspace). Even after it I can not reach the page you sent.

Could you please send the content of it, or invite me to your workspace as a guest, to let me open this?

Best Regards,

András

* * *

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [June 13, 2024, 4:54pm UTC](https://forum.magicleap.cloud/t/is-getting-depth32-and-depthraw-atonce-possible/3627/4 "2024-06-13T16:54:17Z")

</div>

Sorry about that, it looks like there was a bug in our system that posted an internal link. We are looking into this and will provide guidance shortly.

---

<div class="post-metadata">

**Author:** ![kbabilinski](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kbabilinski/32/19_2.png) [@kbabilinski](https://forum.magicleap.cloud/u/kbabilinski)\
**Post date:** [June 13, 2024, 10:33pm UTC](https://forum.magicleap.cloud/t/is-getting-depth32-and-depthraw-atonce-possible/3627/5 "2024-06-13T22:33:41Z")

</div>

I followed up with our SDK team, and they said that that functionality is not possible in the current OpenXR spec.

I asked them for more information and asked if they have any suggested workarounds. I will keep you posted.

---

<div class="post-metadata">

**Author:** ![etucker](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/etucker/32/842_2.png) [@etucker](https://forum.magicleap.cloud/u/etucker)\
**Post date:** [July 26, 2024, 8:09pm UTC](https://forum.magicleap.cloud/t/is-getting-depth32-and-depthraw-atonce-possible/3627/6 "2024-07-26T20:09:37Z")

</div>


