- Home /
Newbie can't compile Mapbox SDK's samples
As a beginner in Unity and experimented c# developer, I want to compile MapBox's Globe sample.
Installed latest version of unity 2017.1.1f1 on PC
Get Mapbox samples : Go to https://github.com/mapbox/mapbox-unity-sdk.git then "download zip" then uncompress to folder [MapBoxSamples] on my PC
Open [MapBoxSamples]/sdkproject\Assets\Mapbox\Examples\Globe\globe.unity
Downloaded mapbox-unity-sdk_v1.1.0
Unity > Menu Assets > Import Package > Custom package then select mapbox-unity-sdk_v1.1.0
Run
I get several compilation errors, first is: Assets/Mapbox/Unity/Map/AbstractMapVisualizer.cs(23,13): error CS0246: The type or namespace name `IMapReadable' could not be found. Are you missing an assembly reference?
(most other errors are same kind : type not found.)
Looks like IMapReadable has been replaced recently by IMap; it makes me think I don't use latest version of samples. What am I missing?
Thanks!
Answer by unity_k2Zu6cnocr-Rgg · Oct 16, 2017 at 06:37 PM
Hey there, you should just delete what you've installed to date and import the new Mapbox v1.2 package. If you have any further issues, post a ticket on https://github.com/mapbox/mapbox-unity-sdk and the mapbox team will help you out.
Your answer
Follow this Question
Related Questions
Assigning UV Map to model at runtime 0 Answers
Cant Save Scene, Import assets, Open Scene or anything that needs file manager window! 1 Answer
FPS Tutorial, 1st step help please! 1 Answer
packaging completed assets to simplify change management 1 Answer
How to set up LODs for a Asset Store pack in Unity Indie? 3 Answers