You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From my point of view, it’s a very unspecific callback for the Listener. Because different functions from Nakama SDK call OnError, and then our error delegate function is called.
Possible solution
I suggest changing the error callback for UNakamaRealtimeClient::Connect(…). For example for Listener.setConnectErrorCallback(....) and don’t use the global error callback.
Details
Versions: Nakama {2.8.1}, {Windows}
The text was updated successfully, but these errors were encountered:
Hi, I found strange behaviour of the Listener from UNakamaRealtimeClient.
We use the same code for setup and connection of Realtime Client as here: Heroic Labs Documentation | Unreal | Nakama Socket
But, the
OnRealtimeClientConnectionError()
is called several times and our program crashes.I found that the Realtime Client register the error callback here:
From my point of view, it’s a very unspecific callback for the Listener. Because different functions from Nakama SDK call
OnError
, and then our error delegate function is called.There is my callstack:
Possible solution
I suggest changing the error callback for
UNakamaRealtimeClient::Connect(…)
. For example forListener.setConnectErrorCallback(....)
and don’t use the global error callback.Details
Versions: Nakama {2.8.1}, {Windows}
The text was updated successfully, but these errors were encountered: