-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arcore Extensions XR-Origin / AR-Origin #172
Comments
You have to add a flag to your project for the ARCoreExtensions to know that you're using AR Foundation 5. Go to Player settings > Player > Other Settings > Scripting Compilation > Scripting Define Symbols: Add ARCORE_USE_ARF_5 Once you do this, the script will allow you to add XROrigin as the Origin. |
Hi mgarate, |
No problem and sorry, I can't help you with your iOS problem. I don't know the answer. |
Thanks a lot. At the end I simply ignored the problem and it worked anyway on android. |
Thanks a lot!! |
After adding the flag a few errors appeared in the console. You have to close the project and re open it and then everything works fine. |
Hi together,
following the getting started tutorial I am running into issues with packages.
https://developers.google.com/ar/develop/unity-arf/getting-started-extensions
Using Unity2022.3.5f1 I use the arcore-extensions 1.41.0 from github URL:
https://github.com/google-ar/arcore-unity-extensions.git
This automatically installs:
AR Foundation 5.0.6 / ARKit XR 5.0.6 / AR Core 5.0.6
After that an error occurs: "Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode'" because I don`t have IOS build support installed.
After deleting the "Google.IOSResolver.dll" files it seems to work.
But when I try to setup the scene with "AR Session" + "XR Origin" and "ARCore Extensions" the "XR Origin" is not accepted as Session Origin in the AR Core Extensions Script, because the old AR Origin from version 4.x has changed to XR Origin.
Do I have to delete the XR Session Origin Script and use the deprecated AR Session Origin?
Is there a way to get an older package version from arfoundation? Only 5.x is shown in package manager.
What am I missing?
Thanks a lot and best regards,
Stefan
The text was updated successfully, but these errors were encountered: