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.
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?
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.
I am using ar foundation ar core and vuforia in the same app , ar foundation for plane tracking and vuforia for image, model and QR tracking
The issue I am facing is switching between scenes.
When I use ar foundation scenes it works good the camera is rendering but when I switch to vuforia scene the camera renders black screen ,
the ar foundation xr origin and vuforia arcamera game objects are used across scenes persistently.
When there are only vuforia relative scenes build the vuforia AR camera works good but when I build the app with the ar foundation component which are required for other scenes only the ar foundation scenes render camera the vuforia scene is not rendering camera but it is getting loaded , I tried enabling and disabling game objects or enabling and disabling theri components
The vuforia is working only when there is no ar foundation objects even if the objects are there disabled vuforia scenes camera not rendering,if ar foundation components are present vuforia scenes are not rendering the camera only black screen seen with UI
Vuforia is getting initalized I tried delay initialisation
In XRanagement ar core is selected for all the methods I tried above
I am not having arfoundation components in vuforia scene active and vice versa
What is the problem can andbuly or any body help me