dmbfm / unity-ar-gps-location-mapbox-route-sample

Example project showcasing the Navigation feature of the AR+GPS location unity asset, alongside the Mapbox SDK.
MIT License
39 stars 19 forks source link

Camera not starting when built for Android #10

Open Sterling-Malory-Archer opened 1 year ago

Sterling-Malory-Archer commented 1 year ago

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!

dmbfm commented 1 year ago

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

Sterling-Malory-Archer commented 1 year ago

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.

dmbfm commented 1 year ago

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.