From a74130618ed842543e5fe85af955800ba6f0b7ef Mon Sep 17 00:00:00 2001 From: walon Date: Fri, 14 Oct 2022 22:32:15 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E5=B0=86=E4=B8=A4=E5=A4=84=E6=AD=A3?= =?UTF-8?q?=E5=B8=B8=E6=97=A5=E5=BF=97=E7=9A=84=E7=BA=A7=E5=88=AB=E7=94=B1?= =?UTF-8?q?=E9=94=99=E8=AF=AF=E6=94=B9=E4=B8=BA=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/Meta/GenericClass.cs | 2 +- Editor/Meta/GenericMethod.cs | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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",