From 71e8392359f088397f82bea024f6e3912e2087eb Mon Sep 17 00:00:00 2001 From: hevinci Date: Tue, 14 Feb 2023 17:29:19 +0800 Subject: [PATCH] update AssetBundleBuilder --- .../Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs index 5f839fd..f717067 100644 --- a/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs +++ b/Assets/YooAsset/Editor/AssetBundleBuilder/BuildTasks/TaskPrepare.cs @@ -16,11 +16,6 @@ namespace YooAsset.Editor var buildParameters = buildParametersContext.Parameters; -#if UNITY_2021_1_OR_NEWER - if (buildParameters.BuildPipeline == EBuildPipeline.BuiltinBuildPipeline) - throw new Exception($"Unity2021 or newer not support {nameof(EBuildPipeline.BuiltinBuildPipeline)}, Please use {nameof(EBuildPipeline.ScriptableBuildPipeline)}"); -#endif - // 检测构建参数合法性 if (buildParameters.BuildTarget == BuildTarget.NoTarget) throw new Exception("请选择目标平台");