heroiclabs / nakama-unity

Unity client for Nakama server.
https://heroiclabs.com/docs/unity-client-guide
Other
411 stars 75 forks source link

Room Closing While Sending or receiving a Event on Unity #114

Closed ragavendranbala closed 2 years ago

ragavendranbala commented 3 years ago

Ping: Error performing ICMP transmission. Possibly because of a timeout System.IO.EndOfStreamException: Unexpected end of stream encountered whilst attempting to read 2 bytes at Nakama.Ninja.WebSockets.Internal.BinaryReaderWriter+d0.MoveNext () [0x00118] in :0 — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Nakama.Ninja.WebSockets.Internal.WebSocketFrameReader+d0.MoveNext () [0x0009b] in :0 — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Nakama.Ninja.WebSockets.Internal.WebSocketImplementation+d33.MoveNext () [0x000e7] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at Nakama.Ninja.WebSockets.Internal.WebSocketImplementation+d33.MoveNext () [0x0034a] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at Nakama.Ninja.WebSockets.Internal.WebSocketImplementation+d33.MoveNext () [0x00841] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.ConfiguredTaskAwaitable1+ConfiguredTaskAwaiter[TResult].GetResult () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Nakama.WebSocketAdapter+d35.MoveNext () [0x0009f] in :0 — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Nakama.WebSocketAdapter+d31.MoveNext () [0x001a5] in :0 UnityEngine.StackTraceUtility:ExtractStackTrace () UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogError (object) Nakama.Socket:<.ctor>b73_2 (System.Exception) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object,System.Globalization.CultureInfo) System.Reflection.MethodBase:Invoke (object,object) System.Delegate:DynamicInvokeImpl (object) System.MulticastDelegate:DynamicInvokeImpl (object) System.Delegate:DynamicInvoke (object) Nakama.UnitySocket/QueuedEvent:Dispatch () (at Assets/Nakama/Runtime/UnitySocket.cs:188) Nakama.UnitySocket:Update () (at Assets/Nakama/Runtime/UnitySocket.cs:167)

(Filename: Assets/Nakama/Runtime/UnitySocket.cs Line: 188)

NullReferenceException: Object reference not set to an instance of an object at OfflinePlayerController+d__54.MoveNext () [0x00083] in E:\Unity Projects\Ragavendran_Personal\LudoDeal-PS\Assets\script\OfflinePlayerController.cs:822 — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0 (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00002] in <127e81e1cb3441cc97d26b1910daae77>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.WorkRequest:Invoke() UnityEngine.UnitySynchronizationContext:Exec() UnityEngine.UnitySynchronizationContext:ExecuteTasks()

(Filename: Assets/script/OfflinePlayerController.cs Line: 822)

Socket reconnected… UnityEngine.StackTraceUtility:ExtractStackTrace () UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogError (object) OfflineGameplay/d80:MoveNext () (at Assets/script/OfflineGameplay.cs:864) System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<OfflineGameplay/d80> (OfflineGameplay/d80&) OfflineGameplay:OnSocketReconnected () UnityEngine.Events.InvokableCall:Invoke () UnityEngine.Events.UnityEvent:Invoke () sessionmanager:b3_0 () (at Assets/script/sessionmanager.cs:41) Nakama.Socket:<.ctor>b__73_0 () System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object,System.Globalization.CultureInfo) System.Reflection.MethodBase:Invoke (object,object) System.Delegate:DynamicInvokeImpl (object) System.MulticastDelegate:DynamicInvokeImpl (object) System.Delegate:DynamicInvoke (object) Nakama.UnitySocket/QueuedEvent:Dispatch () (at Assets/Nakama/Runtime/UnitySocket.cs:188) Nakama.UnitySocket:Update () (at Assets/Nakama/Runtime/UnitySocket.cs:167)

(Filename: Assets/script/OfflineGameplay.cs Line: 864)

System.Net.WebSockets.WebSocketException (0x80004005): Match not found at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at Nakama.Socket+d87.MoveNext () [0x000b4] in :0 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter1[TResult].GetResult () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at OfflineGameplay+d80.MoveNext () [0x00078] in E:\Unity Projects\Ragavendran_Personal\LudoDeal-PS\Assets\script\OfflineGameplay.cs:871 UnityEngine.StackTraceUtility:ExtractStackTrace () UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogError (object) OfflineGameplay/d80:MoveNext () (at Assets/script/OfflineGameplay.cs:877) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run () System.Threading.Tasks.AwaitTaskContinuation:InvokeAction (object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback (System.Threading.ContextCallback,object,System.Threading.Tasks.Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run (System.Threading.Tasks.Task,bool) System.Threading.Tasks.Task:FinishContinuations () System.Threading.Tasks.Task:FinishStageThree () System.Threading.Tasks.Task:FinishStageTwo () System.Threading.Tasks.Task:Finish (bool) System.Threading.Tasks.Task1:TrySetException (object) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetException (System.Exception) Nakama.Socket/d87:MoveNext () System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run () System.Threading.Tasks.AwaitTaskContinuation:InvokeAction (object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback (System.Threading.ContextCallback,object,System.Threading.Tasks.Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run (System.Threading.Tasks.Task,bool) System.Threading.Tasks.Task:FinishContinuations () System.Threading.Tasks.Task:FinishStageThree () System.Threading.Tasks.Task:FinishStageTwo () System.Threading.Tasks.Task:Finish (bool) System.Threading.Tasks.Task1:TrySetException (object) System.Threading.Tasks.TaskCompletionSource1:TrySetException (System.Exception) System.Threading.Tasks.TaskCompletionSource1:SetException (System.Exception) Nakama.Socket:ReceivedMessage (System.ArraySegment1) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object,System.Globalization.CultureInfo) System.Reflection.MethodBase:Invoke (object,object) System.Delegate:DynamicInvokeImpl (object) System.MulticastDelegate:DynamicInvokeImpl (object) System.Delegate:DynamicInvoke (object) Nakama.UnitySocket/QueuedEvent:Dispatch () (at Assets/Nakama/Runtime/UnitySocket.cs:188) Nakama.UnitySocket:Update () (at Assets/Nakama/Runtime/UnitySocket.cs:167)

(Filename: Assets/script/OfflineGameplay.cs Line: 877)

ERROR IN JOINING BACK THE MATCH UnityEngine.StackTraceUtility:ExtractStackTrace () UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogError (object) OfflineGameplay/d80:MoveNext () (at Assets/script/OfflineGameplay.cs:895) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run () System.Threading.Tasks.AwaitTaskContinuation:InvokeAction (object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback (System.Threading.ContextCallback,object,System.Threading.Tasks.Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run (System.Threading.Tasks.Task,bool) System.Threading.Tasks.Task:FinishContinuations () System.Threading.Tasks.Task:FinishStageThree () System.Threading.Tasks.Task:FinishStageTwo () System.Threading.Tasks.Task:Finish (bool) System.Threading.Tasks.Task1:TrySetException (object) System.Runtime.CompilerServices.AsyncTaskMethodBuilder1:SetException (System.Exception) Nakama.Socket/d87:MoveNext () System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool) System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run () System.Threading.Tasks.AwaitTaskContinuation:InvokeAction (object) System.Threading.Tasks.AwaitTaskContinuation:RunCallback (System.Threading.ContextCallback,object,System.Threading.Tasks.Task&) System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation:Run (System.Threading.Tasks.Task,bool) System.Threading.Tasks.Task:FinishContinuations () System.Threading.Tasks.Task:FinishStageThree () System.Threading.Tasks.Task:FinishStageTwo () System.Threading.Tasks.Task:Finish (bool) System.Threading.Tasks.Task1:TrySetException (object) System.Threading.Tasks.TaskCompletionSource1:TrySetException (System.Exception) System.Threading.Tasks.TaskCompletionSource1:SetException (System.Exception) Nakama.Socket:ReceivedMessage (System.ArraySegment1) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object,System.Globalization.CultureInfo) System.Reflection.MethodBase:Invoke (object,object) System.Delegate:DynamicInvokeImpl (object) System.MulticastDelegate:DynamicInvokeImpl (object) System.Delegate:DynamicInvoke (object) Nakama.UnitySocket/QueuedEvent:Dispatch () (at Assets/Nakama/Runtime/UnitySocket.cs:188) Nakama.UnitySocket:Update () (at Assets/Nakama/Runtime/UnitySocket.cs:167)

(Filename: Assets/script/OfflineGameplay.cs Line: 895)

Ping: Error performing ICMP transmission. Possibly because of a timeout System.Net.Sockets.SocketException (0x80004005): A connect request was made on an already connected socket. UnityEngine.StackTraceUtility:ExtractStackTrace () UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object) UnityEngine.Logger:Log (UnityEngine.LogType,object) UnityEngine.Debug:LogError (object) Nakama.Socket:<.ctor>b__73_2 (System.Exception) System.Reflection.MonoMethod:Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object,System.Globalization.CultureInfo) System.Reflection.MethodBase:Invoke (object,object) System.Delegate:DynamicInvokeImpl (object) System.MulticastDelegate:DynamicInvokeImpl (object) System.Delegate:DynamicInvoke (object) Nakama.UnitySocket/QueuedEvent:Dispatch () (at Assets/Nakama/Runtime/UnitySocket.cs:188) Nakama.UnitySocket:Update () (at Assets/Nakama/Runtime/UnitySocket.cs:167)

(Filename: Assets/Nakama/Runtime/UnitySocket.cs Line: 188)

SocketException: A connect request was made on an already connected socket. at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) [0x0003e] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) [0x00028] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) [0x00008] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.TaskAwaiter.GetResult () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at sessionmanager+d__5.MoveNext () [0x000fd] in E:\Unity Projects\Ragavendran_Personal\LudoDeal-PS\Assets\script\sessionmanager.cs:114 — End of stack trace from previous location where exception was thrown — at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () [0x0000c] in <695d1cc93cca45069c528c15c9fdd749>:0 at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.b__6_0 (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 at UnityEngine.UnitySynchronizationContext+WorkRequest.Invoke () [0x00002] in <127e81e1cb3441cc97d26b1910daae77>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) UnityEngine.WorkRequest:Invoke() UnityEngine.UnitySynchronizationContext:Exec() UnityEngine.UnitySynchronizationContext:ExecuteTasks()

Ping: Error performing ICMP transmission. Possibly because of a timeout Ping: Error performing ICMP transmission. Possibly because of a timeout Ping: Error performing ICMP transmission. Possibly because of a timeout Ping: Error performing ICMP transmission. Possibly because of a timeout

lugehorsam commented 3 years ago

Hey @ragavendranbala could you give more context on what's happening in your game and what you are doing with the socket? I take it that an exception is thrown when you close a room? Could you explain further?

Also I noticed this: NullReferenceException: Object reference not set to an instance of an object at OfflinePlayerController+d__54.MoveNext () [0x00083] in E:\Unity Projects\Ragavendran_Personal\LudoDeal-PS\Assets\script\OfflinePlayerController.cs:822 do you know what's null here?

Ragavendran-DX commented 3 years ago

Hi @lugehorsam . It's an Ludo Game running on Server Authoritative Match. I'm using Events to send and receive info between server and clients. While sending some events between unity and server, my server getting crashed (more info https://github.com/heroiclabs/nakama/issues/636). so that my socket connection getting closed and also it leaving the match automatically (I'm not closing the room it's closing automatically due to server crash).

And Regarding the null reference, i have written the code to rejoin the match if there's an issue with the internet. So it throwing the error as there is not match id.

Kindly let me know if you need more info regarding the issue. and FYI, I have shared my server code privately from nakama forums.

srirampandiyan115 commented 3 years ago

similar thing happen in my game also. game running smoothly suddenly all rooms are closed. server side got the log below {"level":"debug","ts":"2021-07-03T06:53:38.621Z","caller":"server/session_ws.go:198","msg":"Error reading message from client","uid":"87da5177-81fc-4310-8a22-04220635e708","sid":"8bc99ec9-dbca-11eb-8032-688e25b5a5ca","error":"read tcp 172.20.0.3:7350->106.208.60.113:50957: i/o timeout"} {"level":"info","ts":"2021-07-03T06:53:38.621Z","caller":"server/session_ws.go:432","msg":"Cleaning up closed client connection","uid":"87da5177-81fc-4310-8a22-04220635e708","sid":"8bc99ec9-dbca-11eb-8032-688e25b5a5ca"} {"level":"info","ts":"2021-07-03T06:53:38.621Z","caller":"server/session_ws.go:440","msg":"Cleaned up closed connection matchmaker","uid":"87da5177-81fc-4310-8a22-04220635e708","sid":"8bc99ec9-dbca-11eb-8032-688e25b5a5ca"} {"level":"info","ts":"2021-07-03T06:53:38.621Z","caller":"server/session_ws.go:444","msg":"Cleaned up closed connection tracker","uid":"87da5177-81fc-4310-8a22-04220635e708","sid":"8bc99ec9-dbca-11eb-8032-688e25b5a5ca"} {"level":"info","ts":"2021-07-03T06:53:38.621Z","caller":"server/session_ws.go:448","msg":"Cleaned up closed connection status registry","uid":"87da5177-81fc-4310-8a22-04220635e708","sid":"8bc99ec9-dbca-11eb-8032-688e25b5a5ca"} {"level":"info","ts":"2021-07-03T06:53:38.621Z","caller":"server/session_ws.go:452","msg":"Cleaned up closed connection session registry","uid":"87da5177-81fc-4310-8a22-04220635e708","sid":"8bc99ec9-dbca-11eb-8032-688e25b5a5ca"} {"level":"debug","ts":"2021-07-03T06:53:38.621Z","caller":"server/tracker.go:834","msg":"Processing presence event","joins":0,"leaves":1} {"level":"info","ts":"2021-07-03T06:53:38.621Z","caller":"server/session_ws.go:469","msg":"Closed client connection","uid":"87da5177-81fc-4310-8a22-04220635e708","sid":"8bc99ec9-dbca-11eb-8032-688e25b5a5ca"}

lugehorsam commented 3 years ago

Hey @srirampandiyan115 are you using the Typescript runtime?

srirampandiyan115 commented 3 years ago

@lugehorsam yes i'm using typescript, cockroach db, nakama installed using docker

novabyte commented 2 years ago

A new release of the Unity client is available: https://github.com/heroiclabs/nakama-unity/releases/v3.3.0 Please test it and reopen this issue if the problem persists.