From a107f431734b3039efdafcbff61e3be7f5e7c00b Mon Sep 17 00:00:00 2001 From: walon Date: Mon, 12 Dec 2022 12:01:02 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E5=A4=8D=E7=94=9F=E6=88=90N2M?= =?UTF-8?q?=E6=A1=A5=E6=8E=A5=E5=87=BD=E6=95=B0Stub=E6=97=B6=EF=BC=8C?= =?UTF-8?q?=E5=A4=B1=E8=AF=AF=E5=B0=86=E6=9C=AB=E5=B0=BE=E9=A1=B9=E7=9A=84?= =?UTF-8?q?sinature=E5=A1=AB=E6=88=90""=E7=9A=84bug=EF=BC=8C=E6=AD=A3?= =?UTF-8?q?=E7=A1=AE=E5=BA=94=E8=AF=A5=E6=98=AFnullptr?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Editor/MethodBridge/PlatformGeneratorBase.cs | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Editor/MethodBridge/PlatformGeneratorBase.cs b/Editor/MethodBridge/PlatformGeneratorBase.cs index ac49452..7f13732 100644 --- a/Editor/MethodBridge/PlatformGeneratorBase.cs +++ b/Editor/MethodBridge/PlatformGeneratorBase.cs @@ -36,7 +36,7 @@ Managed2NativeMethodInfo hybridclr::interpreter::g_managed2nativeStub[] = lines.Add($"\t{{\"{method.CreateInvokeSigName()}\", __M2N_{method.CreateInvokeSigName()}}},"); } - lines.Add($"\t{{\"\", nullptr}},"); + lines.Add($"\t{{nullptr, nullptr}},"); lines.Add("};"); } diff --git a/package.json b/package.json index 26f05d5..1f8b76e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.focus-creative-games.hybridclr_unity", - "version": "1.1.9", + "version": "1.1.10", "displayName": "HybridCLR", "description": "Unity package for HybridCLR. It includes editor and runtime scripts and assets for HybridCLR", "category": "Runtime",