suriyun-production / mmorpg-kit-docs

This is document for MMORPG KIT project (https://www.assetstore.unity3d.com/#!/content/110188?aid=1100lGeN)
https://suriyun-production.github.io/mmorpg-kit-docs
49 stars 10 forks source link

Can't register new account in 1.82 #1995

Closed vgabler closed 1 year ago

vgabler commented 1 year ago

Hi. I've encountered this issue in last version, 1.82 I'm following the steps from documentation

Steps to reproduce: -Create empty project (2020.3.26f1) -Add newtonsoft 3.0.2 -Add latest version of MMORPG Kit -Build for MMO following the docs -Start server -Start client -Try to register account

Rolling back to previous version solved the issue

Here is the error log:

ERROR No Tag [2023-04-05 06:57:22] - NullReferenceException: Object reference not set to an instance of an object
MultiplayerARPG.MMO.CentralNetworkManager+<HandleRequestUserRegister>d__55.MoveNext () (at <ac2c1fd457da448c9b572fef2937228b>:0)
UnityEngine.Debug:LogException(Exception)
Cysharp.Threading.Tasks.UniTaskScheduler:PublishUnobservedTaskException(Exception)
MultiplayerARPG.MMO.<HandleRequestUserRegister>d__55:MoveNext()
Cysharp.Threading.Tasks.CompilerServices.AsyncUniTaskVoidMethodBuilder:Start(<HandleRequestUserRegister>d__55&)
MultiplayerARPG.MMO.CentralNetworkManager:HandleRequestUserRegister(RequestHandlerData, RequestUserRegisterMessage, RequestProceedResultDelegate1)
LiteNetLibManager.LiteNetLibRequestHandler2:InvokeRequest(RequestHandlerData, RequestProceededDelegate)
LiteNetLibManager.TransportHandler:ProceedRequest(Int64, NetDataReader)
LiteNetLibManager.TransportHandler:ReadPacket(Int64, NetDataReader)
LiteNetLibManager.LiteNetLibServer:OnServerReceive(TransportEventData)
LiteNetLibManager.LiteNetLibServer:Update()
LiteNetLibManager.LiteNetLibManager:FixedUpdate()
MultiplayerARPG.MMO.CentralNetworkManager:FixedUpdate()
insthync commented 1 year ago

Fixed https://github.com/insthync/LiteNetLibManager/commit/3523d263b7505f88c5bef6900fdf506c37512702

Eniotnacram commented 1 year ago

Thank you for the quick fix suri <3