Closed dongfangshu closed 2 weeks ago
只调用Send方法控制台无报错,调用Send后再调用Write报错send: fail sendUDPSocketMessage:fail The "buffer" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined。打印一下dataLength发现是一很大的值,config.length才是正确的值
操作系统:macOS sonoma 14.2.1 unity版本号:2021.2.5f1c301 sdk版本:minigame.202405171605 导入方式:unitypackage导入 平台:WEBGL
可以把转换插件更新至最新版试下,最新版更新了相关适配
描述Bug
只调用Send方法控制台无报错,调用Send后再调用Write报错send: fail sendUDPSocketMessage:fail The "buffer" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined。打印一下dataLength发现是一很大的值,config.length才是正确的值
运行环境