google-ar / arcore-unity-sdk

ARCore SDK for Unity
https://developers.google.com/ar
Other
1.4k stars 402 forks source link

Basic HelloAR project not working on Google Pixel 2 XL #575

Open vitcozzolino opened 5 years ago

vitcozzolino commented 5 years ago

SPECIFIC ISSUE ENCOUNTERED

VERSIONS USED

STEPS TO REPRODUCE THE ISSUE

  1. Download Google ARCore examples
  2. Build and deploy on Google Pixel 2 XL

WORKAROUNDS (IF ANY)

Do a factory reset and not install any suggested updates (OS or applications).

ADDITIONAL COMMENTS

Apparently I can't deply any AR app on my Google Pixel 2, as soon as I launch the app the phones closes it right after the Unity logo. Attached you can find two adb logcat outputs logcat.txt logcat2.txt. FYI I renamed the package name, that's why the name is not helloar.

It started happening after I installed a security update but can't really tell which one. Before that I could run any AR app developed with ARCore or ARFundation.

If I run the same project on the Google Pixel 1, it works without problems.

jmackenzie68 commented 5 years ago

I am also having this issue with a google Pixel 2 XL. It was working fine last week and not does not work at all.

maherahmedraza commented 5 years ago

I am also having the save problem. The crash starting happen after update to version ARCore 1.9.0

Testing Device: Pixel2 Unity 2019.1.1 ARCore 1.9.0

To make it work I have to either restart my phone or uninstall the ARCore app from the phone or to remove ARcore instant preview from the phone. But, sometime nothing works and it just crash.

Jodgester commented 5 years ago

Same problem here with a Google Pixel 2 (not XL), Android 9.

ARCore 1.9.0 Tried on both Unity 2018.3 and Unity 2019.1.2

As @maherahmedraza said, the only way I can get the HelloAR example to work is to uninstall the ARCore app from the phone and then reinstall. But it will only work once after the reinstall, any launches after that and it will crash after the splash screen.

metalcerveza commented 5 years ago

Same problem here, works first execution but then al ArCore Apps stopped working after last update:

ArCore 1.9.190422066 Pixel 2 XL Android 8.1 - Android 9 Unity 2017.4.3 Unity 2018.1.0 Unity 2018.3.4f1

metalcerveza commented 5 years ago

I had a deeper look, and after reading other posts I see that if I reinstall ArCore app it works only once, furthermore, if I disable ArCore during execution and enable it back, it crashes. Cleaning cache from ArCore app also works.

What I've done to keep developing is download 1.8 version apk and work offline, so I don't get update message

vitcozzolino commented 5 years ago

I did a factory reset and now my ARCore based apps are working again. Will see if it lasts.

metalcerveza commented 5 years ago

I did a factory reset and now my ARCore based apps are working again. Will see if it lasts.

I did it too but had no luck, could you please confirm what Android version are you running please?

vitcozzolino commented 5 years ago

I did a factory reset and now my ARCore based apps are working again. Will see if it lasts.

I did it too but had no luck, could you please confirm what Android version are you running please?

I have Android version 9. It's still working now but I want to do more tests before confirming.

vitcozzolino commented 5 years ago

Ok both my ARCore and ARFundation apps are now working again. I just did a factory reset and didn't install any of the prompted updates (no OS update, no apps updates).

uffeflarup commented 5 years ago

I'm also having problems with ARCore SDK 1.9 on a Google Pixel 2 (not XL size).

Our app worked perfectly fine with SDK 1.8, but after upgrading it to SDK 1.9 the camera feed became very unstable on Google Pixel 2 devices. Our AR scenes will typically run for 20-30 seconds, but then the camera feed stops.

Restarting the app helps, but it basically makes SDK 1.9 useless.