-
Notifications
You must be signed in to change notification settings - Fork 227
Description
Unity Version: 2022.3.62.f2
OS: Ubuntu 24.04.03
Steps to reproduce
git clone https://github.com/mapbox/mapbox-unity-sdk.git- cd into mapbox-unity-sdk project repo and run
git switch sdk3 - In Unity Editor, Package Manager > Add From Disk > Select package.json from mapbox-unity-sdk project
- In the Package Manager select Download Sample for LocationBasedGame
- Try to target android
I get the following errors:
Projects/MapBoxSDK/mapbox-unity-sdk/Runtime/Mapbox/MapDebug/Scripts/Logging/Editor/LoggingCacheManagerBehaviourEditor.cs(11,67): error CS0234: The type or namespace name 'Editor' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Projects/MapBoxSDK/mapbox-unity-sdk/Runtime/Mapbox/MapDebug/Scripts/Logging/Editor/LoggingCacheManagerBehaviourEditor.cs(10,6): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Projects/MapBoxSDK/mapbox-unity-sdk/Runtime/Mapbox/MapDebug/Scripts/Logging/Editor/LoggingCacheManagerBehaviourEditor.cs(10,6): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Projects/MapBoxSDK/mapbox-unity-sdk/Runtime/Mapbox/MapDebug/Scripts/Logging/Editor/LoggingDataFetchingManagerBehaviourEditor.cs(8,74): error CS0234: The type or namespace name 'Editor' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Projects/MapBoxSDK/mapbox-unity-sdk/Runtime/Mapbox/MapDebug/Scripts/Logging/Editor/LoggingDataFetchingManagerBehaviourEditor.cs(7,6): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Projects/MapBoxSDK/mapbox-unity-sdk/Runtime/Mapbox/MapDebug/Scripts/Logging/Editor/LoggingDataFetchingManagerBehaviourEditor.cs(7,6): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)