Open orenkoren opened 3 years ago
Hi @orenkoren, unfortunately I never worked with Unity, so I cannot say if your error is Unity related or not. Maybe the Unity Environment is running in a kind of emulator and cannot call your deepstream server because of some virtual network boundaries? The exception also is kind of generic. Would it be possible to get a better Exception/Stacktrace? Maybe you can put a try/catch around your code inside the Start method and then output the Exception via Exception.ToString() and post it here.
Hi, so I'm trying to create a deepstream client with Unity, and I installed the await/async asset so it will be 100% similar to the examples given here. but I still can't make it work because of the SocketException.. I tried the example Program.cs as a console app and the connection works fine, so it's not a problem of connectivity or server-related issues.
I realise it's not common to use Unity as a client but it should be fairly possible considering Unity is now .NET 4.x compatible..
So this is my Unity code:
And this is the exception:
Has anyone managed to make Unity work with Deepstream?