- Home /
How can I solve this problem using Mapbox in Unity
Hello everybody, it is my first time using Mapbox in Unity but when I run the Location Based Game example I get this error: "TransformTileProvider: No location marker transform specified."
I Think it happens because doesn't have something on the Target Transform textbox.
Thanks
Answer by misher · Jan 22, 2019 at 07:38 AM
I think you need to assign or camera or a "player" game object so that it will follow the tracking location on the map...
Answer by chusmaverde · Jun 24, 2019 at 08:44 PM
Hello,
I ran into the same problem and it turns out the issue does not have to do with that component. I found the answer in the Mapbox Github repository:
https://github.com/mapbox/mapbox-unity-sdk/issues/1402
Summarizing: The camera must be looking at "something". I solved the issue by selecting a proper extent options at:
Abstract Map: General / Extend options : "Range Around Transform".
Abstract Map: General / Extend options / Target Transform: "PlayerTarget(Transform)"
I hope this will help