Open asevillanom opened 2 years ago
Hello,
I am currently working with Mapbox for a few weeks already. I am building simply-said location-based game and after a few interactions with Mapbox Unity SDK I found out, it's not perfect yet and there are many issues/bugs in the SDK. I can see, a lot of great work is made there already, but it needs a little bit more care to make it great overall. After a few weeks of playing with the Mapbox Unity SDK, I ran into these issues and their solutions: https://gist.github.com/Frixs/fa3b1bec1f7626c05c4c3c6ff1475618?permalink_comment_id=4337586#gistcomment-4337586
Hopefully, it can help you a bit. :-)
Unity 2022.1.16f1 Mapbox Unity SDK v2.1.1 Building for Android
I'm working on a location-based game and I want the player to always be in the center of the screen and the map will rotate around them as the player moves forward. For this I have taken the example Location-basedGame and added to the "map" gameobject the component "InitializeMapWithLocationProvider" and "RotateWithLocationProvider". In the player I have added "ImmediatePositionWithLocationProvider". When I try it with an iOS device everything works fine and map rotates smoothly at first (Rotating each 1 second with device movement) but after a few seconds (20-30) the map doesn't rotate smoothly when moving the phone and it rotates every 15 seconds approximately.