[Problem/Question]
Environment: Unity editor 2022.2.7f1
- Unable to connect user to sendbird server using unity sdk, no console output from sdk after calling SendBirdClient.Connect() method.
- Unable to load unity demo project using unity editor version 2022.2.7f1. Encountered missing assembly and reference issues
Unsuccessful fixes:
- Rebuilt the websocket-sharp.dll using the latest websocket-sharp git commit and replace the dll file in the project.
[SDK Version]
v.3.0.29
[Reproduction Steps]
Connect user to the server on unity version 2022.2.7f1
private void Start()
{
InitSendbird();
}
private void InitSendbird()
{
SendBirdClient.SetupUnityDispatcher(gameObject);
StartCoroutine(SendBirdClient.StartUnityDispatcher);
print(SendBirdClient.Init(m_sendbirdAppId));
SendBirdClient.Connect(m_userId, (User user, SendBirdException e) =>
{
if (e != null) // Error
{
return;
}
Debug.Log(user.ConnectionStatus);
});
}
[Frequency]
Always
[Current impact]
Unable to use unity sdk to connect users to sendbird server