[fix] 将两处正常日志的级别由错误改为警告

main
walon 2022-10-14 22:32:15 +08:00
parent 63f1d3b2e4
commit a74130618e
3 changed files with 3 additions and 3 deletions

View File

@ -64,7 +64,7 @@ namespace HybridCLR.Editor.Meta
TypeDef def = type.ResolveTypeDef(); TypeDef def = type.ResolveTypeDef();
if (def == null) if (def == null)
{ {
Debug.LogError($"type:{type} ResolveTypeDef() == null"); Debug.LogWarning($"type:{type} ResolveTypeDef() == null");
return null; return null;
} }
var klassInst = ctx != null ? sig.GenericArguments.Select(ga => MetaUtil.Inflate(ga, ctx)).ToList() : sig.GenericArguments.ToList(); var klassInst = ctx != null ? sig.GenericArguments.Select(ga => MetaUtil.Inflate(ga, ctx)).ToList() : sig.GenericArguments.ToList();

View File

@ -93,7 +93,7 @@ namespace HybridCLR.Editor.Meta
methodDef = method.ResolveMethodDef(); methodDef = method.ResolveMethodDef();
if (methodDef == null) if (methodDef == null)
{ {
Debug.LogError($"method:{method} ResolveMethodDef() == null"); Debug.LogWarning($"method:{method} ResolveMethodDef() == null");
return null; return null;
} }
if (method is MethodSpec methodSpec) if (method is MethodSpec methodSpec)

View File

@ -1,6 +1,6 @@
{ {
"name": "com.focus-creative-games.hybridclr_unity", "name": "com.focus-creative-games.hybridclr_unity",
"version": "0.4.3", "version": "0.4.4",
"displayName": "HybridCLR", "displayName": "HybridCLR",
"description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR", "description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR",
"category": "Runtime", "category": "Runtime",