# Vuforia and AR Foundation don't work together

**URL:** https://forum.magicleap.cloud/t/vuforia-and-ar-foundation-dont-work-together/1632
**Category:** Vuforia Engine
**Tags:** development, unity, vuforia
**Created:** [March 25, 2023, 9:21pm UTC](https://forum.magicleap.cloud/t/vuforia-and-ar-foundation-dont-work-together/1632 "2023-03-25T21:21:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![rafal.legiedz](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/rafal.legiedz/32/654_2.png) [@rafal.legiedz](https://forum.magicleap.cloud/u/rafal.legiedz)
#### Post date: [March 25, 2023, 9:21pm UTC](https://forum.magicleap.cloud/t/vuforia-and-ar-foundation-dont-work-together/1632/1 "2023-03-25T21:21:19Z")

</div>

Hey all,

I've a hard time to get ARFoundation and Vuforia working together for ML2. I'm currently porting the app that works on Android / iOS (developed in Unity), but for some reason I kept getting `VuforiaApplication` not being initialised.

I dug deeper and was stripping the code to the essentials and eventually I've found out that the moment I get rid of ARFoundation components (like `AR Session` etc) Vuforia starts working (I've a green light during the app run and all the Vuforia events fire. The moment I add `ARSession` component back.. Vuforia is not getting initialised.. I'm out of clues.

I've noticed that examples that are in the Unity Asset Store for Vuforia and ML2 are not using ARFoundation, hence they're working just fine. I've tried dropping `ARSession` there to see what happens, and then it does not work - Vuforia doesn't initialise then.

**EDIT:**

I've found this: [Vuforia Engine and AR Foundation | Vuforia Library](https://library.vuforia.com/unity-extension/vuforia-engine-and-ar-foundation)

> UWP Tablets, HoloLens, and Magic Leap devices are not supported for this cross-platform integration.

Does it mean I can't use Vuforia and ARFoundation within ML2 projects?

---

<div class="post-metadata">

### Author: ![kdowney](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.magicleap.cloud/kdowney/32/481_2.png) [@kdowney](https://forum.magicleap.cloud/u/kdowney)
#### Post date: [March 31, 2023, 1:49pm UTC](https://forum.magicleap.cloud/t/vuforia-and-ar-foundation-dont-work-together/1632/2 "2023-03-31T13:49:35Z")

</div>

Hi @rafal.legiedz Correct, the cross-platform integration is not supported on Magic Leap currently. You may need to reach out to PTC for more information on Vuforia Engine.
