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

Does not run the map on the mobile device #4

Open EdGh1123 opened 2 years ago

EdGh1123 commented 2 years ago

I try to run the application in the unity environment and the map works, but when I generate the apk the map does not work

here the map is shown (Pc) image

but not here (Mobile) image

dmbfm commented 2 years ago

Could you check Android's LogCat for any error messages?

Thanks!

EdGh1123 commented 2 years ago

log.txt

This is all the log that it generates for me

dmbfm commented 2 years ago

Weird that there aren't any error messages. Which device are you using? Is it correctly connected to the internet? When you try to use the search do you get any results?

Thanks,

EdGh1123 commented 2 years ago

yes, I have an internet connection, when I do the search I also have results, the device I use is the Xiaomi mi 9t, what settings should I use to start the project, there must be something that I am not doing well

dmbfm commented 2 years ago

I can't reproduce the issue here so I can't tell... Have you made any changes to the project or are you using as it is? Have you set the mapbox API token correctly? When you run the app does it request location permissions?

EdGh1123 commented 2 years ago

I download the project, open it, configure the android 26, activate the Arcore module and run, am I missing a step? when I install if it asks me for gps and camera permissions

dmbfm commented 2 years ago

Send me the project folder in a .zip file to my email, daniel.mbfm@gmail.com so I can take a look.

Thanks,

EdGh1123 commented 2 years ago

I already sent the project to your email, Thank you very much

dmbfm commented 2 years ago

Ok, I think the last commit I just made should fix this. Let me know if it works!