From 62bf4c28476aa1dab1aa5290301647b4ded80d5e Mon Sep 17 00:00:00 2001 From: walon Date: Tue, 27 Sep 2022 16:12:34 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D=20UnityPluginAssembl?= =?UTF-8?q?yResolver=20=E6=89=AB=E6=8F=8Fdll=E6=97=B6=EF=BC=8C=E5=A4=B1?= =?UTF-8?q?=E8=AF=AF=E6=89=AB=E6=8F=8F=E4=BA=86=E9=9D=9EPlugins=20dll?= =?UTF-8?q?=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 c77c0b0..4119722 100644 --- a/Editor/Meta/UnityPluginAssemblyResolver.cs +++ b/Editor/Meta/UnityPluginAssemblyResolver.cs @@ -15,7 +15,7 @@ namespace HybridCLR.Editor.Meta { foreach(var dll in Directory.GetFiles(UnityEngine.Application.dataPath, "*.dll", SearchOption.AllDirectories)) { - if (Path.GetFileNameWithoutExtension(dll) == assemblyName) + if (Path.GetFileNameWithoutExtension(dll) == assemblyName && dll.Contains("Plugins")) { Debug.Log($"plugin:{dll}"); return dll; diff --git a/package.json b/package.json index 151a139..e50162e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.focus-creative-games.hybridclr_unity", - "version": "0.3.1", + "version": "0.3.2", "displayName": "HybridCLR", "description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR", "category": "Runtime",