❔ Hi, guys I am trying to connect my unity project to SignalR and having some issues.
this is the error i receive when I hit play
Error An error occurred while sending the request
UnityEngine.Debug:LogError (object)
SignalRConnector/<StartConnectionAsync>d4:MoveNext () (at Assets/Scripts/SignalRConnector.cs:55)
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()
and this is the error I receive when I try to send message
Error: SignalR connection is not active.
UnityEngine.Debug:LogError (object)
SignalRConnector/<SendMessageAsync>d3:MoveNext () (at Assets/Scripts/SignalRConnector.cs:38)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder:Start<SignalRConnector/<SendMessageAsync>d3> (SignalRConnector/<SendMessageAsync>d3&)
SignalRConnector:SendMessageAsync (Message)
MainPage/<SendMessage>d6:MoveNext () (at Assets/Scripts/MainPage.cs:37)
System.Runtime.CompilerServices.AsyncVoidMethodBuilder:Start<MainPage/<SendMessage>d6> (MainPage/<SendMessage>d__6&)
MainPage:SendMessage ()
UnityEngine.EventSystems.EventS
2 Replies
this is the code
https://paste.ofcode.org/7dM9qtKajrE2NKPAjZC3Gy
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.