What's the relationship between AR Foundation and Vuforia Engine and ARcode/ARKit

Hi,

To start with an internet routine, I am new to AR with Unity. All these concepts start to bite me when I am trying to build a test piece. I understand ARcode/ARkit is for Android/IOS to operate AR apps, but no more than that. I don't know when build an app how that will affect the build, why they show up in XPlugin Management of Unity3D, but Vuforia doesn't, do I still need Vuforia if AR Foundation is available, etc.

I am currently trying to do an Architectural AR project that Vufoira's area target seems to be the right path, but I can't even have its Area Target Test app installed to my android and get the scanned database shown there. (Followed the official guide but didn't help much, the folder they suggested is not functional).

There seems to be a lot to learn, but could someone tell me where to start? Thank you in advance!

AR Foundation and Vuforia are unrelated, and using both of them in a single app is unsupported and likely to cause errors.

We can't comment on the architecture of Vuforia, but AR Foundation is architected as a Unity package in C# that defines an AR API, and then various dependent packages called provider plug-ins can implement that API using platforms such as ARCore or ARKit. Unity supports provider plug-ins for ARCore, ARKit, and OpenXR.

See our Architecture page for more information.

1 Like

Thank you! Those are pretty helpful!

1 Like

[quote=“andyb-unity”, post:2, topic: 900214]
AR Foundation and Vuforia are unrelated, and using both of them in a single app is unsupported and likely to cause errors.

We can’t comment on the architecture of Vuforia, but AR Foundation is architected as a Unity package in C# that defines an AR API, and then various dependent packages called provider plug-ins can implement that API using platforms such as ARCore or ARKit. Unity supports provider plug-ins for ARCore, ARKit, and OpenXR.

See our Architecture page for more information.
[/quote]

So Vuforia states that using booth is possible. But While trying to set this up my App always crashes, when a Vuforia Image Target is detected. You are saying this is not recommended to try from unity’s perspective?

here is the vuforia doku page stating as such:

https://library.vuforia.com/unity-extension/vuforia-engine-and-ar-foundation

Vuforia is opaque and iirc they implement their own SLAM algorithms so there should be no contention for platform libraries, however it's not something we at Unity support or test so generally as far as we are concerned it's not a supported use-case and can result in undefined behavior.