From 05e721cf02967155d2b0092134712f578402ea93 Mon Sep 17 00:00:00 2001 From: walon Date: Wed, 3 May 2023 17:17:40 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20BuildOptions.CleanBuildCache=E4=BB=8EUN?= =?UTF-8?q?ITY=5F2021=5F2=5FOR=5FNEWER=E5=BC=80=E5=A7=8B=E6=89=8D=E6=9C=89?= =?UTF-8?q?=EF=BC=8C=E8=80=8C=E4=B8=8D=E6=98=AFUNITY=5F2021=5F1=5FOR=5FNEW?= =?UTF-8?q?ER?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Commands/StripAOTDllCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Editor/Commands/StripAOTDllCommand.cs b/Editor/Commands/StripAOTDllCommand.cs index c893a56..fed8c6d 100644 --- a/Editor/Commands/StripAOTDllCommand.cs +++ b/Editor/Commands/StripAOTDllCommand.cs @@ -38,7 +38,7 @@ namespace HybridCLR.Editor.Commands BashUtil.RemoveDir(outputPath); var buildOptions = BuildOptions.BuildScriptsOnly; -#if UNITY_2021_1_OR_NEWER +#if UNITY_2021_2_OR_NEWER buildOptions |= BuildOptions.CleanBuildCache; #endif