We encounter this call stack with a basic Nakama setup. This worked fine in Unity 2019.3 (non LTS). I am opening this issue as it is slightly different error than here but resembles same error. https://github.com/heroiclabs/nakama-unity/issues/89
08-06 16:25:38.493 19125 19189 E Unity : Failed to connect: System.NotSupportedException: linked away
08-06 16:25:38.493 19125 19189 E Unity : at Nakama.Ninja.WebSockets.Internal.Events.ClientConnectingToHost (System.Guid guid, System.String host, System.Int32 port) [0x00000] in <00000000000000000000000000000000>:0
08-06 16:25:38.493 19125 19189 E Unity : at Nakama.Ninja.WebSockets.WebSocketClientOptions..ctor () [0x00000] in <00000000000000000000000000000000>:0
08-06 16:25:38.493 19125 19189 E Unity : at TMPro.TMP_Text..cctor () [0x00000] in <00000000000000000000000000000000>:0
08-06 16:25:38.493 19125 19189 E Unity : at Nakama.Ninja.WebSockets.WebSocketClientFactory.GetStream (System.Guid loggingGuid, System.Boolean isSecure, System.Boolean noDelay, System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000000>:0
08-06 16:25:38.493 19125 19189 E Unity : at Nakama.Ninja.WebSockets.WebSocketClientOptions..ctor () [0x00000] in <00000000000000000000000000000000>:0
08-06 16:25:38.493 19125 19189 E Unity : at TMPro.TMP_Text..cctor () [0x00000] in <00000000000000000000000000000000>:0
08-06 16:25:38.493 19125 19189 E Unity : at Nakama.Ninja.WebSockets.WebSocketClientFactory.ConnectAsync (System.Uri uri, Nakama.Ninja.WebSockets.WebSocketCli
This makes Nakama sockets completely not functional in Unity 2019 LTS/2020 builds. I have opened a ticket with Unity as well. fogbugz.unity3d.com/default.asp?1268810_rivovg9kpgheuep7
Hopefully Unity/Heroic can work to resolve this quickly as I will need to downgrade back to nonLTS 2019.3 to make it work. Thanks!
We encounter this call stack with a basic Nakama setup. This worked fine in Unity 2019.3 (non LTS). I am opening this issue as it is slightly different error than here but resembles same error. https://github.com/heroiclabs/nakama-unity/issues/89
08-06 16:25:38.493 19125 19189 E Unity : Failed to connect: System.NotSupportedException: linked away 08-06 16:25:38.493 19125 19189 E Unity : at Nakama.Ninja.WebSockets.Internal.Events.ClientConnectingToHost (System.Guid guid, System.String host, System.Int32 port) [0x00000] in <00000000000000000000000000000000>:0 08-06 16:25:38.493 19125 19189 E Unity : at Nakama.Ninja.WebSockets.WebSocketClientOptions..ctor () [0x00000] in <00000000000000000000000000000000>:0 08-06 16:25:38.493 19125 19189 E Unity : at TMPro.TMP_Text..cctor () [0x00000] in <00000000000000000000000000000000>:0 08-06 16:25:38.493 19125 19189 E Unity : at Nakama.Ninja.WebSockets.WebSocketClientFactory.GetStream (System.Guid loggingGuid, System.Boolean isSecure, System.Boolean noDelay, System.String host, System.Int32 port, System.Threading.CancellationToken cancellationToken) [0x00000] in <00000000000000000000000000000000>:0 08-06 16:25:38.493 19125 19189 E Unity : at Nakama.Ninja.WebSockets.WebSocketClientOptions..ctor () [0x00000] in <00000000000000000000000000000000>:0 08-06 16:25:38.493 19125 19189 E Unity : at TMPro.TMP_Text..cctor () [0x00000] in <00000000000000000000000000000000>:0 08-06 16:25:38.493 19125 19189 E Unity : at Nakama.Ninja.WebSockets.WebSocketClientFactory.ConnectAsync (System.Uri uri, Nakama.Ninja.WebSockets.WebSocketCli
This makes Nakama sockets completely not functional in Unity 2019 LTS/2020 builds. I have opened a ticket with Unity as well. fogbugz.unity3d.com/default.asp?1268810_rivovg9kpgheuep7
Hopefully Unity/Heroic can work to resolve this quickly as I will need to downgrade back to nonLTS 2019.3 to make it work. Thanks!