Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Cant get project to ask for Location Permissions

Discussion in 'Navigation' started by Overature, Jul 28, 2020.

  1. Overature

    Overature

    Joined:
    May 10, 2020
    Posts:
    9
    Hi, I am building a unity project that uses GPS location with AR Foundation and I can't get it to ask for Location permissions when I launch the app. The only way I can get it, is if I manually go into app info on the phone and enable it from denied to allowed.

    The white box up box for asking for camera and video permissions (for AR foundation) pops up at the start and works no problem but I don't know how to get it to work the same for the GPS. My GPS code is working fine and gives accurate data so I am not sure where I am going wrong. I have "access fine location" in my manifest file but that doesn't seem to make a difference.

    Any help would be great.
    Thanks
     
unityunity