mapbox-unity-sdk
mapbox-unity-sdk copied to clipboard
Location service updates are not enabled
I have a game which is using the LocationBasedGame code to depict the world, but which does not use a device to locate where the user is (I feed coordinates and then transforms after that to find where the user is in the world), but when I do a PC build, I get the same error repeatedly:
Location service updates are not enabled. Check LocationService.status before querying last location.
I know this is caused because PCs don't really use Unity's location services, but I don't need this data. How do I change the configuration of Mapbox, or short-circuit the location code to allow this game to build on PC?
I've already burned lots of hours on this challenge without success.
Kindest Regards, Garry
It's been 14 days with no reply. Is there a better place to ask this question?
@1701Tiberius wow I'm really sorry about this Garry, I totally missed this :(
If you are not using location data at all (or you are just providing it yourself through a custom script), you can just remove InitializeMapWithLocationProvider script from Map gameobject I believe?