wechat-miniprogram / minigame-unity-webgl-transform

Wechat Mini Game Unity engine adapter documents.
https://wechat-miniprogram.github.io/minigame-unity-webgl-transform/
MIT License
2.98k stars 455 forks source link

在使用插件的蓝牙模块接口的时候,调用到 监听搜索到新设备的事件onBluetoothDeviceFound的时候会如下错误 #692

Open november15 opened 8 months ago

november15 commented 8 months ago

MissingMethodException: Default constructor not found for type System.Byte[] at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00000] in <00000000000000000000000000000000>:0

MissingMethodException: Default constructor not found for type System.Byte[] at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00000] in <00000000000000000000000000000000>:0

MissingMethodException: Default constructor not found for type System.Byte[] at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic, System.Boolean wrapExceptions) [0x00000] in <00000000000000000000000000000000>:0

查看代码看到有如下一个字段,怀疑是这儿的bug,麻烦有人帮忙看下什么问题不? c1346f39ac713b749f1bf77b2d5ee28c_

MisakiHCL commented 7 months ago

https://github.com/wechat-miniprogram/minigame-unity-webgl-transform/blob/main/CHANGELOG.md

在3月5日的版本修复了,可以更新试试