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",