再贴上Logs文件报错的部分:
2022-03-28 11:36:01.6047 (TChannel.cs:404) TChannel OnError: 100208 127.0.0.1:56124
2022-03-28 11:36:01.6047 (TChannel.cs:102) channel dispose: 34359738368 127.0.0.1:56124
2022-03-28 11:36:01.6047 (Session.cs:91) session dispose: 127.0.0.1:56124 zone: 1 id: 34359738368 ErrorCode: 100208, please see ErrorCode.cs! 1648438561605
2022-03-28 11:36:01.6047 (Session.cs:179) zone: 0 { "_t" : "M2C_ChangeState", "RpcId" : 0, "UnitId" : 1646223180939, "FsmStateType" : 0 }
2022-03-28 11:36:01.6047 (Session.cs:179) zone: 0 { "_t" : "M2C_Stop", "Error" : 0, "_id" : 1646223180939, "X" : -13.296181678771973, "Y" : 0.091531991958618164, "Z" : 29.596279144287109, "A" : 0.0, "B" : 0.83311760425567627, "C" : 0.0, "W" : 0.55309593677520752 }
2022-03-28 11:36:01.6198 (SessionStreamDispatcherServerInner.cs:57) zone: 0 { "_t" : "G2M_SessionDisconnect", "RpcId" : 543 }
2022-03-28 11:36:01.6198 (Session.cs:179) zone: 0 { "_t" : "ActorResponse", "RpcId" : 543, "Error" : 0, "Message" : null }
2022-03-28 11:36:01.6198 (G2M_SessionDisconnectHandler.cs:10) 断开连接:哈哈
2022-03-28 11:36:01.6198 (LocationProxyComponentSystem.cs:53) location proxy add 1212928468384284678, 1648438561620
2022-03-28 11:36:01.6198 (SessionStreamDispatcherServerInner.cs:33) not found actor: Process 10045 511501674054156297 { "_t" : "M2C_ChangeState", "RpcId" : 0, "UnitId" : 1646223180939, "FsmStateType" : 0 }
at ET.SessionStreamDispatcherServerInner.Dispatch(Session session, MemoryStream memoryStream) in D:\ET_Framework\ET6\Server\Hotfix\Demo\Session\SessionStreamDispatcherServerInner.cs:line 33
下面是我在断线时候的处理
请大佬帮忙看看,如果断线处理是对的,那么不应该有 not found actor的报错啊
是不是要在哪加协程锁呢?