unity-ar-gps-location-mapbox-route-sample icon indicating copy to clipboard operation
unity-ar-gps-location-mapbox-route-sample copied to clipboard

Camera not starting when built for Android

Open Sterling-Malory-Archer opened this issue 3 years ago • 3 comments

As the title suggests, I open the project and add ARCore Provider and build it for Android, the map appears, it asks me for the location but the camera does not start.

I downloaded the project, opened it up in 2020.3 and didn't change anything.

Any help is kindly appreciated!

Sterling-Malory-Archer avatar Jan 27 '23 12:01 Sterling-Malory-Archer

And you can otherwise create ARFoundation projects and run it on this device without issues?

dmbfm avatar Jan 27 '23 12:01 dmbfm

Hi,

Yes, I work on a couple of ARFoundation-based projects and they all work. The issue here is that I don't get the Camera permission prompt when I start a fresh install of the apk.

Sterling-Malory-Archer avatar Jan 27 '23 12:01 Sterling-Malory-Archer

Does it work with the same Unity version? It may be something in the build settings. It's hard for me to debug since I can't reproduce this. Try making sure you have the same build settings from a project that does work and let me know if the issue still happens.

dmbfm avatar Jan 30 '23 18:01 dmbfm