diff --git a/Assets/YooAsset/Runtime/CacheSystem/PersistentTools.cs b/Assets/YooAsset/Runtime/CacheSystem/PersistentTools.cs index a0c2fb6..f17127d 100644 --- a/Assets/YooAsset/Runtime/CacheSystem/PersistentTools.cs +++ b/Assets/YooAsset/Runtime/CacheSystem/PersistentTools.cs @@ -41,6 +41,8 @@ namespace YooAsset return StringUtility.Format("file://{0}", path); #elif UNITY_ANDROID return path; +#elif UNITY_STANDALONE_OSX + return new System.Uri(path).ToString(); #elif UNITY_STANDALONE return StringUtility.Format("file:///{0}", path); #elif UNITY_WEBGL