Open
Description
描述Bug
var server = WX.GetGameServerManager();
server.login();
server.StartMatch(new StartMatchOption
{
matchId = matchID,
success = (result) =>
{
Debug.Log("StartMatch succ");
},
fail = result =>
{
Debug.Log("StartMatch fail:" + result.errMsg);
}
});
以上代码会报错:JsonException: Max allowed object depth reached while trying to export from type System.Guid
at LitJson.JsonMapper.WriteValue
如果不设置success和fail参数则不会报错,不止是StartMatch方法,其它方法也同样会报错
代码分支:
https://gitee.com/wechat-minigame/minigame-tuanjie-transform-sdk.git#feat-gameservermanager
运行环境
unity 2022