pusher / pusher-websocket-unity

Pusher Channels Unity Client Library
MIT License
27 stars 20 forks source link

Doesn't connect to channel. #16

Closed ImWaynnee closed 4 years ago

ImWaynnee commented 4 years ago

I have set-up the client in Unity following the steps in the readme.

The following line does not return _channel = await _pusher.SubscribeAsync("my-channel");

and nothing is logged in the console. Looking for assistance on this matter.

ImWaynnee commented 4 years ago

The project works by itself, but when I try to install the package into my existing project it doesn't work. I have an issue with overlapping assemblies, it's probably that.

PrecompiledAssemblyException: Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included for the current platform. Only one assembly with the same name is allowed per platform

This is the error.

ImWaynnee commented 4 years ago

Resolved by removing the other assembly.