Open saszer opened 3 years ago
@saszer did you get example projects to work?
@kintovt yes, although I dont recall the exact steps as this was a while ago between a lot of experimentation. I do have ARFoundation in my packages and GoogleARCore in the project folder(which comes with mapbox).
No need to get arcore or arkit from packages, just import ARFoundation in packages. I might have commented out some of the code which was throwing errors.
@saszer If you are planning to submit your application to the public it's pretty risky to use those deprecated plugins shipped with mapbox. It may be working for the moment (which i am not sure since the release of iOS 14.4) but it's only a matter of time ARCore/ARKit will show up with the first API change breaking the compatibility. Those librarys are updated automatically with the mobile OS over playstore in the case of Android and bound with the iOS Version on apples side.
Refer to this issue for an official answer regarding your title question : https://github.com/mapbox/mapbox-unity-sdk/issues/1619
I'm afraid Ar support in the SDK is really outdated and there most likely won't be a fix/update any time soon. :(
From my current understanding,
This project is Using ARInterface Library with custom imported GoogleARCore and ARkit.
1, This creates conflicts if any project is using newer inbuilt Unity Packages for ARCore and Kit.
It'll be great if the whole example project is upgraded to ARFoundation, which will now be getting continued support from Unity.