From 0fcb51a369f9b035226f8f7d38bfa4381763c680 Mon Sep 17 00:00:00 2001 From: walon Date: Thu, 30 May 2024 19:21:58 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20PatchScriptingAssemblyList.cs=E5=9C=A8U?= =?UTF-8?q?nity=202023+=E7=89=88=E6=9C=ACwebgl=E5=B9=B3=E5=8F=B0=E7=9A=84?= =?UTF-8?q?=E7=BC=96=E8=AF=91=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/BuildProcessors/PatchScriptingAssemblyList.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Editor/BuildProcessors/PatchScriptingAssemblyList.cs b/Editor/BuildProcessors/PatchScriptingAssemblyList.cs index b633c20..b376fc5 100644 --- a/Editor/BuildProcessors/PatchScriptingAssemblyList.cs +++ b/Editor/BuildProcessors/PatchScriptingAssemblyList.cs @@ -12,7 +12,7 @@ using UnityEditor.Build.Reporting; using UnityEditor.UnityLinker; using UnityEngine; using UnityFS; -#if !UNITY_2021_1_OR_NEWER +#if !UNITY_2023_1_OR_NEWER using UnityEditor.Il2Cpp; #endif @@ -179,7 +179,7 @@ namespace HybridCLR.Editor.BuildProcessors return true; } -#if UNITY_WEBGL +#if UNITY_WEBGL && !UNITY_2022_3_OR_NEWER public void OnBeforeConvertRun(BuildReport report, Il2CppBuildPipelineData data) { PathScriptingAssembilesFile($"{SettingsUtil.ProjectDir}/Temp/StagingArea/Data");