1 (edited by vikas.sharma 2017-04-13 13:58:11)

Topic: Input.location.lastData.latitude not working in iOS

Hello
Input.location.lastData.latitude not working in iOS, i checked location service is enabled and it's working in Android.
Is there any other way to get location Cordinates?

Re: Input.location.lastData.latitude not working in iOS

Hello.

Online Maps Location Service is a wrapper for Unity Location Service.
This means that Online Maps Location Service uses data from Unity Location Service.
If Unity Location Service does not return the correct coordinates for some reason, we can not fix it.

First of all, make sure that your application has permission to access the location.
If the problem persists, try using a third-party asset that receives data from the device's sensors (for example, Native Toolkit).

Kind Regards,
Infinity Code Team.

Boost your productivity a lot and immediately using Ultimate Editor Enhancer. Trial and non-commerce versions available.