Magic Leap 2 Unity OpenXR Project Not Working

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 SDK version: 2.6 (installed via Magic Leap Setup Tool)
OpenXR Plugin version: 1.13.0 (Note: Unity recommending 1.10.0)

Steps I’ve Taken:

  1. Used the Magic Leap Setup Tool to configure the project.
  2. No validation issues reported in the setup tool.
  3. Completed the render pipeline settings as instructed.
  4. Imported the Magic Leap Rig and OpenXR input sample from the SDK.
  5. Followed all steps from the Magic Leap Building a Sample App guide.

The current error I am getting when trying to build and run is “Android NDK not found or Invalid.”

I definitely have the NDK installed. In Unity under Preferences: Android Build Support, Open JDK, and Android SDK & NDK Tools are all clearly installed.

So, I’m assuming the NDK is “invalid.”

This may be due to my “versions” of something not being compatible?

I would really appreciate guidance on this. I am just trying to view a cube in my lens for proof of concept for my company. I believe I have messed up something with version compatibility.

Again,

Project setup tool is all green “done”
Project validation has 0 issues
When I switch from “scene” to “game” I can clearly see the cube in a black space

Thanks in advance for any guidance!