diff --git a/Editor/Meta/GenericClass.cs b/Editor/Meta/GenericClass.cs index 746b7aa..c080c1a 100644 --- a/Editor/Meta/GenericClass.cs +++ b/Editor/Meta/GenericClass.cs @@ -64,7 +64,7 @@ namespace HybridCLR.Editor.Meta TypeDef def = type.ResolveTypeDef(); if (def == null) { - Debug.LogError($"type:{type} ResolveTypeDef() == null"); + Debug.LogWarning($"type:{type} ResolveTypeDef() == null"); return null; } var klassInst = ctx != null ? sig.GenericArguments.Select(ga => MetaUtil.Inflate(ga, ctx)).ToList() : sig.GenericArguments.ToList(); diff --git a/Editor/Meta/GenericMethod.cs b/Editor/Meta/GenericMethod.cs index c3cb419..df0327b 100644 --- a/Editor/Meta/GenericMethod.cs +++ b/Editor/Meta/GenericMethod.cs @@ -93,7 +93,7 @@ namespace HybridCLR.Editor.Meta methodDef = method.ResolveMethodDef(); if (methodDef == null) { - Debug.LogError($"method:{method} ResolveMethodDef() == null"); + Debug.LogWarning($"method:{method} ResolveMethodDef() == null"); return null; } if (method is MethodSpec methodSpec) diff --git a/package.json b/package.json index f4ef7ef..7b8e7bc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.focus-creative-games.hybridclr_unity", - "version": "0.4.3", + "version": "0.4.4", "displayName": "HybridCLR", "description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR", "category": "Runtime",