I'm following this guide to install the tools to operate a Magic Leap 2 using Vuforia via Unity OpenXR:
However, I immediately run into a problem obtaining the ML C SDK, where the ML Hub 3 cannot download the zip file required for the install, returning "Reason: Aborted". Interestingly, I am able to manually download this file from the link below:
There is no clear way to install it in a manner where it will be recognized as a dependency by the Unity Package. Is there a way to install this manually, or is there a reason the file download is being aborted? I am able to install all other items from the Package manager, but the ML C SDK is for some reason, an exception.
I am also reading in some places that the ML C SDK is an optional dependency, but see no method to download the Unity Package without requiring completion of the ML C SDK installation.
Once the ML C SDK and Unity Package are installed, I assume one of these directories must be targeted by step 5.1 from this guide to set up Vuforia in Unity for the Magic Leap 2, but it is not clear which:
I am running on a Windows, ML Hub 3, Unity 2022.3.48f1.
I let our ML Hub team know of the issue. In the meantime you can download the pre-configured Unity Example project from GitHub:
We are currently tracking a bug where the Magic Leap Unity Package is not visible in the package manager even with the Registry is added.
Lastly, we have had users report issues using Vuforia with the OpenXR version of the Magic Leap SDK and Unity. If you choose to use the MLSDK version of the example project, you can try to download version 1.12.0 of the Unity Examples from the Magic Leap Hub or download the 1.12.0 branch from GitHub.
Hi @kbabilinski, would you be able to share more details on the reported issues?
We are porting our app from UWP and about to start on the Vuforia part. Using Unity 2022.3.45 and OpenXR. We are currently using Unity SDK 2.0.0, due newer versions being incompatible with the Unity Transport version we are using, but expect to update to Unity SDK 2.4.0 next week.
The main issue seems to be related to tracking objects properly. While some users have successfully used OpenXR, I don’t have all the specifics on the steps they took.
If you're working with OpenXR, make sure to enable Perception Snapshots by going to OpenXR Settings > Magic Leap Support > Enable Perception Snapshots.
Additionally, you may need to adjust your tracking reference space to unbounded to ensure that the Camera Pose aligns with the XR Rig.