ET版本:ET8 微信小程序版本
Unity版本: 2022.3.0
Net版
本:8.0
用VS 或 Rider 启动服务器 客户端链接的时候服务器 服务器直接崩溃
用 dotnet 命令启动的服务器则不会有这个问题
崩溃时除了 D:\ET\WeixinGame\Bin\App.exe (进程 40436)已退出,代码为 -2147483645。没有其他错误日志
realm服最后日志为:
2024-03-27 17:30:00.0462 (WService.cs:104) start http://*:30002/
2024-03-27 17:30:29.8549 (KChannel.cs:89) channel create: 2147483649 1503203571 192.168.3.21:63418 Accept
2024-03-27 17:30:29.8790 (Session.cs:51) session create: zone: 1 id: 2147483649 1711531829877
2024-03-27 17:30:29.8790 (KService.cs:325) kservice syn: 2147483649 1503203571 2147483649 192.168.3.21:63418
2024-03-27 17:30:29.9594 (NetComponentSystem.cs:77) { “_t” : “C2R_Login”, “RpcId” : 1, “Account” : “2”, “Password” : "", “LoginType” : 1 }
2024-03-27 17:30:30.4968 (C2R_LoginHandler.cs:22) account 2,gate config id: 3
2024-03-27 17:30:30.6081 (Session.cs:153) { “_t” : “R2C_Login”, “RpcId” : 1, “Error” : 0, “Message” : null, “IP” : “192.168.3.21”, “Port” : 30004, “Key” : NumberLong(“6511648877756529034”), “GateId” : NumberLong(3), “IsNewRegister” : false }
Gate服还没日志