diff --git a/Editor/MethodBridge/Analyzer.cs b/Editor/MethodBridge/Analyzer.cs index 5cdd9e8..33d24e5 100644 --- a/Editor/MethodBridge/Analyzer.cs +++ b/Editor/MethodBridge/Analyzer.cs @@ -53,6 +53,10 @@ namespace HybridCLR.Editor.MethodBridge private void TryAddAndWalkGenericType(GenericClass gc) { + if (gc == null) + { + return; + } lock(_lock) { gc = gc.ToGenericShare(); diff --git a/package.json b/package.json index a26ed0d..b5872a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.focus-creative-games.hybridclr_unity", - "version": "0.7.0", + "version": "0.7.1", "displayName": "HybridCLR", "description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR", "category": "Runtime",