From 66a615e0e382fbe29254c56dba9ca028ff52acfc Mon Sep 17 00:00:00 2001 From: Baran Kahyaoglu Date: Wed, 2 Jun 2021 14:31:12 +0300 Subject: [PATCH] fix a bug where a wrong class name used in some #if defines --- sdkproject/Assets/Mapbox/Unity/MapboxAccess.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdkproject/Assets/Mapbox/Unity/MapboxAccess.cs b/sdkproject/Assets/Mapbox/Unity/MapboxAccess.cs index 716aebc37..d7077b46c 100644 --- a/sdkproject/Assets/Mapbox/Unity/MapboxAccess.cs +++ b/sdkproject/Assets/Mapbox/Unity/MapboxAccess.cs @@ -158,7 +158,7 @@ void ConfigureFileSource() DataManager = new EditorDataFetchingManager(_fileSource); #else _memoryCache = new MemoryCache(_configuration.MemoryCacheSize); - DataManager = new MapboxDataFetchingManager(_fileSource); + DataManager = new DataFetchingManager(_fileSource); #endif #if !UNITY_WEBGL @@ -170,7 +170,7 @@ void ConfigureFileSource() #if UNITY_EDITOR var fileCache = new EditorFileCache(); #else - var fileCache = new FileCache(_fileSource); + var fileCache = new FileCache(); #endif CacheManager = new MapboxCacheManager(_memoryCache, fileCache, sqliteCache);