# Open xr unity feature group

**URL:** <https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143>\
**Category:** Unity Development\
**Tags:** unity, openxr\
**Created:** [February 6, 2024, 8:03pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143 "2024-02-06T20:03:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 6, 2024, 8:03pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/1 "2024-02-06T20:03:51Z")

</div>

Hi Is there any proper document for implementing open xr magic leap feature plugin in unity.  
It’s mentioned to install magic leap xr 7.0.0 for this to work.  
Do I need to select magic leap in the setting or just the open xr feature gourp ?

I want to use open xr and magic leap feature group for building the app.

The app works well with meta quest 3 with open xr meta quest feature group.

But have trouble brining it to magic leap.  
Please provide the steps , packages and settings with screenshot if possible.

Give us as much detail as possible regarding the issue you're experiencing.

**Unity Editor version** :  
**ML2 OS version** :  
**MLSDK version** :  
**Host OS** : (Windows/MacOS)

**Error messages from logs** (syntax-highlighting is supported via Markdown):

---

<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:** [February 6, 2024, 9:57pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/2 "2024-02-06T21:57:50Z")

</div>

@kpradp installing the XR 7.0.0 will configure your project for the Magic Leap XR workflow. If you intent to use OpenXR please remove this package and enable the Magic Leap feature from the XR Plug-in Management window. See the Configure Project Settings Guide for complete instructions: [Configure Project Settings | MagicLeap Developer Documentation](https://developer-docs.magicleap.cloud/docs/guides/unity-openxr/getting-started/configure-unity-settings/#xr-plug-in-management)

---

<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:** [February 6, 2024, 9:59pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/3 "2024-02-06T21:59:34Z")

</div>

Thank you for the information about the guide, I noticed that we reference the `com.unity.xr.magicleap` in the guide in the SDK path section. We will work to correct that. In the meantime, please make sure the xr package is not installed when using OpenXR

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 7, 2024, 2:57pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/4 "2024-02-07T14:57:38Z")

</div>

As mentioned , I have removed the Magic leap XR workflow and was using only the Open XR Magic leap feature group.  
Running the build on the device renders nothing but a black screen.  
Please check the attached screen shot for the same.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/3/3be8c2e72f416df3c3de1dbbefb57c6418fb8738.png)

---

<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:** [February 7, 2024, 3:01pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/5 "2024-02-07T15:01:38Z")

</div>

Thank you for clarifying. Do you mind showing the Depth Submission Mode and Render Mode options at the top? Do you get any error logs when you run the application?

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 7, 2024, 3:06pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/6 "2024-02-07T15:06:06Z")

</div>

I haven't taken a log from the device.  
On editor I am getting this, which I am not sure why .

@kbabilinski

 ![Screenshot 2024-02-07 203522](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/5/53b52098a103638485b20b6aa4c5be7feac5cb58.png)  
 ![Screenshot 2024-02-07 203434](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/4/4f4cbacf86fce10ff0e0d62db64b51061239fd55.png)

Graphics API Vulkan

![Screenshot 2024-02-07 203633](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/9/93c2c0076bf82f1660bf4491420654157588e9af.png)

---

<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:** [February 7, 2024, 3:10pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/7 "2024-02-07T15:10:00Z")

</div>

Do those errors appear in the editor when idle or when you go into play mode? Please make sure that the open XR and magically feature group sub systems are disabled in the standalone tab in Unity’s XR plug-in management settings.

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 7, 2024, 3:12pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/8 "2024-02-07T15:12:27Z")

</div>

Ok  
Its not appearing

 ![Screenshot 2024-02-07 204140](https://us1.discourse-cdn.com/flex019/uploads/magicleap1/original/2X/0/0f8bb4f21d944d8a9a3ec8b5d6a97be536636bb1.png)  
on changing the settings on the Openxr standalone

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 7, 2024, 3:13pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/9 "2024-02-07T15:13:36Z")

</div>

Is there any rendering setting do I need to be change for it to work on the device.?  
I almost replicate the setting from the Unity Samples

---

<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:** [February 7, 2024, 3:32pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/10 "2024-02-07T15:32:56Z")

</div>

There are no settings that I can think of off the top of my head. Getting the logs would be helpful to see if there is anything that causes the graphics to initialize incorrectly. Do you know which settings are different between the Example project and your project?

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 7, 2024, 3:36pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/11 "2024-02-07T15:36:28Z")

</div>

Almost all settings are same as mentioned in documentation and in Unity sample.  
The same project works with Magic leap SDK but not with Open xr feature .

I have no problem building this for Meta using Open xr feature meta.  
I even tried removing meta sdk form the project and use only Magic leap. Still same.

Do u have an sample deployed in device using Open XR Magic Leap feature group ?  
If u still need a log i will get

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 7, 2024, 6:19pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/12 "2024-02-07T18:19:09Z")

</div>

Attached is the device log @kbabilinski

artennis2testapp

[device\_Log\_20240207\_1302\_47.txt](https://forum.magicleap.cloud/uploads/short-url/8yxiCFfNwyG8G7vukILJSlVlRAa.txt) (781.8 KB)

[device\_Log\_20240207\_1321\_33.txt](https://forum.magicleap.cloud/uploads/short-url/akhO0NiNoOVfUefJWgfwcQGbDH8.txt) (2.7 MB)

---

<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:** [February 7, 2024, 6:32pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/13 "2024-02-07T18:32:47Z")

</div>

I see a few errors in the logs but let me dig into it some more to see what is the exact reason for the display not showing content.

Note, the Magic Leap does not support google play services or libraries that rely on google play services support.

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 7, 2024, 6:34pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/14 "2024-02-07T18:34:54Z")

</div>

Yea I am aware of Google services. It’s because of fire base.

The same code base works on unity ml sdk. Only after using open xr it isn’t rendering.

---

<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:** [February 7, 2024, 7:24pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/15 "2024-02-07T19:24:12Z")

</div>

Can you verify that you are running the latest OS 1.5.0 ?

Can you verify that you have the 1.4.0-pre.1 version of the XR Hands Package and providing which version of Unity are you using?

Also can you verify that you have this permission inside the manifest file ? It should be added automatically but there might be a bug that prevented it from being added on build.

```xml
<uses-permission android:name="org.khronos.openxr.permission.OPENXR_SYSTEM" />

```

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 7, 2024, 7:34pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/16 "2024-02-07T19:34:27Z")

</div>

No below are the details

> <https://gist.github.com/kpradp/74fbf26b693046a3a9ecc6c3e0984311>

Unity - 2022.3.19f1

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 7, 2024, 7:40pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/17 "2024-02-07T19:40:31Z")

</div>

This wasn’t added for met quest 3. Just FYI

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 8, 2024, 5:16pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/18 "2024-02-08T17:16:34Z")

</div>

This fixed the issue.

And i remove minify from the build settings too. Not sure this is the reason.

@kbabilinski Thanks a lot.

---

<div class="post-metadata">

**Author:** ![kpradp](https://avatars.discourse-cdn.com/v4/letter/k/e47774/32.png) [@kpradp](https://forum.magicleap.cloud/u/kpradp)\
**Post date:** [February 8, 2024, 7:43pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/19 "2024-02-08T19:43:21Z")

</div>

Xr input not detecting the controller in the device. Works well with the editor. @kbabilinski  
I am using the default xri input. Disabled the hand. If I enable hands I can see the hands. But controller is not getting detected.

Any advice.

---

<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:** [February 9, 2024, 2:44pm UTC](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143/20 "2024-02-09T14:44:39Z")

</div>

I recommend verifying that the Magic Leap Controller Profile is sending input data and that the Input actions used on your rig are configured to listen to the correct input paths.

You can do this by creating a custom script that listens to the device's input or by using the XR Rig and Input Samples from the magic leap sdk : [Inputs Sample | MagicLeap Developer Documentation](https://developer-docs.magicleap.cloud/docs/guides/unity-openxr/controller/quick-start/sample-input-and-rig/)

[Next page](https://forum.magicleap.cloud/t/open-xr-unity-feature-group/3143.md?page=2)
