Unity Sdk - client.NewSocket(useMainThread) is no more usable. How can I set it to force use the mainThread?

I have downloaded the new version of Nakama Unity SDK. As I see, the socket opening process changed. How can I set the main thread usage parameter using the new method?

Should I downgrade?

@yusuf You can still use NewSocket extension method on the IClient type of the Nakama client:

client.NewSocket(useMainThread: true)

This behaviour has not changed since it was added. You must make sure you add the Nakama client as a .unitypackage to your project or add it via the Unity Package Manager:

https://github.com/heroiclabs/nakama-unity.git?path=/Packages/Nakama#v3.13.0

Hope that helps.