diff --git a/Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs b/Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs index 34c81a9..6daf127 100644 --- a/Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs +++ b/Assets/YooAsset/Runtime/DownloadSystem/DownloadManager.cs @@ -100,7 +100,7 @@ namespace YooAsset DownloaderBase newDownloader = null; YooLogger.Log($"Beginning to download bundle : {bundleInfo.Bundle.BundleName} URL : {bundleInfo.RemoteMainURL}"); #if UNITY_WEBGL - if (bundleInfo.Bundle.Buildpipeline == DefaultBuildPipeline.RawFileBuildPipelineName) + if (bundleInfo.Bundle.Buildpipeline == EDefaultBuildPipeline.RawFileBuildPipeline.ToString()) { FileUtility.CreateFileDirectory(bundleInfo.CachedDataFilePath); System.Type requesterType = typeof(FileGeneralRequest); @@ -147,4 +147,4 @@ namespace YooAsset } } } -} \ No newline at end of file +}