From b9ea9b21f3368500703df700ffa09904461ec650 Mon Sep 17 00:00:00 2001 From: walon Date: Fri, 18 Nov 2022 19:38:21 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D=E6=89=AB=E6=8F=8FPlu?= =?UTF-8?q?gin=20assembly=E6=97=B6=E6=9C=AA=E5=BF=BD=E7=95=A5~=E7=BB=93?= =?UTF-8?q?=E5=B0=BE=E7=9A=84=E7=9B=AE=E5=BD=95=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Meta/UnityPluginAssemblyResolver.cs | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Editor/Meta/UnityPluginAssemblyResolver.cs b/Editor/Meta/UnityPluginAssemblyResolver.cs index 35af9f2..b7ac13a 100644 --- a/Editor/Meta/UnityPluginAssemblyResolver.cs +++ b/Editor/Meta/UnityPluginAssemblyResolver.cs @@ -21,7 +21,7 @@ namespace HybridCLR.Editor.Meta private bool IsPluginDll(string dllPath) { var fileOrDirs = new HashSet(dllPath.Split('\\', '/')); - return !fileOrDirs.Intersect(s_ignoreDirs).Any(); + return !fileOrDirs.Any(dir => dir.EndsWith("~")) && !fileOrDirs.Intersect(s_ignoreDirs).Any(); } public string ResolveAssembly(string assemblyName, bool throwExIfNotFind) diff --git a/package.json b/package.json index 31fc926..fc5898c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.focus-creative-games.hybridclr_unity", - "version": "0.10.4", + "version": "0.10.5", "displayName": "HybridCLR", "description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR", "category": "Runtime",