OpenXR AR Experience extension with Magic Leap 2 in USD Composer 2023.2.1 Beta

,

I’m trying to render in AR using the AR Experience extension and outputing to the Magic Leap 2 OpenXR Runtime, the problem arises when I press the “Start AR” button which ends up crashing USD Composer after a few seconds. I’m using an RTX 3080, Windows 10. Does someone know how I could solve this issue?


kit_20250508_162306.log (1.2 MB)

Thank you for your post. Unfortunately, you are using a VERY old version of our Composer Template. You need to follow these instructions to update, because your version will not work and we do not recommend using Launcher anymore. It is depreciated. Please just uninstall all the apps, and Launcher and start fresh.

For the new Kit versions, you have to use our “kit app template”. You have to do a small amount of building to use it, because we are moving to a developer focus, but it is easy.

Follow these instructions:

1. Download "git" from https://git-scm.com/downloads
2. Start a windows command console by using running "cmd" from the Windows Start menu
3. Navigate to the root of c: or d: drive. Example "cd\"
4. Copy and run "git clone https://github.com/NVIDIA-Omniverse/kit-app-template.git"
5. run "cd kit-app-template"
6. run "repo template new"
7. run "repo build"
8. run "repo launch"

I’ve followed the instructions and built a USD Composer app, and set the the extension related to AR rendering to autoload since the app instructed me to, but it can’t seem to find the OpenXR runtime of my headset even if I set the OpenXR Runtime to Custom. Also if I leave it in System OpenXR Runtime the program crashes . Could it be related to the fact that I have the kit app template on my D: drive and the remote rendering .exe is the C: drive? Do I have to complete any further steps or is there something else I’m doing wrong?


errormsgAR

I would think that your headset it not set up correct with OpenXR. Have you installed the correct Magic Leap Drivers, and the OpenXR libraries? As I mentioned do not use the AR system. That is for ipads, not headsets. You need the VR system. It is a headset. It doesn’t matter if your headset is AR capable. Try the VR system first. Get that working.

The issue is that we do not officially support Magic Leap. We DO officially support any headset that support OpenXR but we have to get it set up ok.

You are getting two errors we need to fix:

  1. OpenXR:XR ERROR RUNTIME UNVAILABLE. This means that kit has no OpenXR runtime to connect to
  2. Capture Layer in not present in Registry. This may mean your headset is not setup correctly.