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