Hello, I'm starting to develop an app that will use Magic Leap 2 and Vuforia Area targets.
Following all steps given in tutorials and quicks starts, I'm getting errors on builds and could not get the project to run.
Sometimes vuforia is not initializing.
I've read and tried these resources.
Link: Developing Vuforia Engine Apps for Magic Leap | Vuforia Library
Link: Getting Started with Vuforia Engine and Magic Leap 2 | Vuforia Library
I've read also forum posts for Vuforia delayed initialization. But the script for the permissions of the person suggesting it is now Deprecated
Link: Vuforia works in one project but not another, no Camera permissions request - #13 by jamesashley
Most of the resources I found are from 2023.
Is it possible for magic leap 2 to recognize vuforia area target?
Can you give me more guidance.
etucker
November 21, 2024, 11:20pm
2
Permissions are now requested using Android.Permissions
You can check them out here at this link.
1 Like
I am not using area targets but made it work in general with image targets after more than a week efort.
First you need to install vuforia package.
Then you install Magic Leap XR plugin from unity package manager and enable from settings.
Then you have to copy sample resources folder from vuforia sample to your new project. Some files are required to work controller.
Do not use ML Rig for OpenXR. It does not work with vuforia. Use MainCamera from Magic Leap SDK from packages folder.
From vuforia sample scene, generate a prefab from ML6DofController and move to your new project.
Never use deferred rendering with vuforia, magic leap crashes.
No New ML SDK for OpenXR works with vuforia. Use depricated SDK only.
1 Like