From c21dbcc60a33eb21610badb4f5c98a0a8a4ef47f Mon Sep 17 00:00:00 2001 From: walon Date: Thu, 29 May 2025 14:22:50 +0800 Subject: [PATCH] [change] Remove redundant `buildOptions |= BuildOptions.CleanBuildCache;` code since it's already added in the GetBuildPlayerOptions function. --- Editor/Commands/StripAOTDllCommand.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/Editor/Commands/StripAOTDllCommand.cs b/Editor/Commands/StripAOTDllCommand.cs index eae6421..8e6560a 100644 --- a/Editor/Commands/StripAOTDllCommand.cs +++ b/Editor/Commands/StripAOTDllCommand.cs @@ -72,9 +72,6 @@ namespace HybridCLR.Editor.Commands BashUtil.RemoveDir(outputPath); var buildOptions = GetBuildPlayerOptions(target); -#if UNITY_2021_2_OR_NEWER - buildOptions |= BuildOptions.CleanBuildCache; -#endif bool oldExportAndroidProj = EditorUserBuildSettings.exportAsGoogleAndroidProject; #if UNITY_EDITOR_OSX