mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

Unity Remote and Device Location

Open Ariel-Feldman opened this issue 5 years ago • 2 comments

Hi Everyone, I'm trying to debug my app using the Unity Remote but it seems that nothing can get Device location while playing in editor.

I'm using: MapxBox V 2.0.0| unity 2018.4 | Android (Pixel2) | Unity Remote 5

As written in the readme (inspector) I've changed the Editor location provider link to DefaultDeviceLocationProvider (and also AndroidDeviceLocationProvider)

The mobile builds work fine, it asks permission and everything... but when I play under Unity Remote it does not show any map image (and not asking location permission ( is it need to?)

In the console, I get a warning message with a typo (?) "UniAndroidPermission works only Androud Devices".

I saw in a few posts that adding a delay in the location provider class can help but in the new version (2.0.0.0) it's really not simple as they show like an older version.

Many thank for the help, Ariel

Ariel-Feldman avatar Aug 28 '19 12:08 Ariel-Feldman

Same here working with Mapbox SDK 2.0.1 Unity 2019.4 LTS Android: Version 6.0 as well as 11.0

Using Unity remote the DeviceLocationProvider is also not working for me. Refering to this label in the editor it should be working or at least worked before (?)

image

Markovicho avatar Nov 05 '20 09:11 Markovicho

Same here working with Mapbox SDK 2.0.1 Unity 2019.4 LTS Android: Version 6.0 as well as 11.0

Using Unity remote the DeviceLocationProvider is also not working for me. Refering to this label in the editor it should be working or at least worked before (?)

image

Hi! I'm also having this problem, would be grateful for any help :)

halvamalva avatar Mar 02 '22 12:03 halvamalva