Skip to content
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

App opens on Pixel 2 XL but does not run AR - Google Play Services for AR Required #25

Closed
sergiosolorzano opened this issue Dec 4, 2020 · 2 comments

Comments

@sergiosolorzano
Copy link

Hello all

I'm on 2018.4.19f1 and a pixel 2 XL Android 11 and the build installed on the smartphone does not run the AR experience.

I have Google Play Services for AR installed and updated.

I can see the sprites to choose the AR experience but the rest of the screen is black. I build & run a single scene and when the app opens I get "this application requires th latest version of google play services for AR", however I have Play Services for AR installed and updated.

If I build all scenes with the caroussel I get the same message that I required Play Services for AR and after pressing ok it shows me the Play Services for AR app to install but there is nothing to do because it's already installed. So next I go back to the app I built that is open and it says "depth api is not supported on this device. Please make sure your device is compatible".

Pixel 2 XL is indeed an AR enabled device.

Furthermore, I can confirm I can run AR on this phone with Unity's AR Foundation and the ARCore Depth Lab example on the play store

I did a factory reset on the phone but I still get this behaviour.

I thought it may be a problem with the arcore-unity-sdk version but in trying to upgrade from arcore-unity-sdk-1.18 to 1.21 I get gradle errors and can't build.

Anyone else experiencing this? Any guidance really appreciated please

@sergiosolorzano
Copy link
Author

sergiosolorzano commented Dec 4, 2020

I did a fresh installed with sdk 1.21 on Unity 2020.2 and works great :)

What is the difference in terms of arcore depth functionality between this and the project with arcore sdk? I'm trying to work out if I move on with sdk 1.21 not using depth lab project or what depth functionality i'm leaving behind?

@ruofeidu
Copy link
Collaborator

ruofeidu commented May 18, 2021

We released two new updates to this project using AR Foundation and ARCore Unity SDK respectively, please check out if these fit your needs: https://github.com/googlesamples/arcore-depth-lab/releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants