Comments (9)
well done. it works like a charm.
from pusher-websocket-dotnet.
+1 a walkthrough would be very appreciated. I found no way of running this lib within Unity. tried with building dlls and by using source code.
from pusher-websocket-dotnet.
Could someone please write a simple walkthrough?
from pusher-websocket-dotnet.
This is the error I get:
Assembly 'Assets/Plugins/PusherClient.dll' will not be loaded due to errors:
Unable to resolve reference 'WebSocket4Net'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference 'Newtonsoft.Json'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference 'SuperSocket.ClientEngine'. Is the assembly missing or incompatible with the current platform?
from pusher-websocket-dotnet.
When I finally added all of those DLLs as references in an msc.rsp file. I get two new errors:
-
Unloading broken assembly Assets/Plugins/PusherClient.dll, this assembly can cause crashes in the runtime
-
TypeLoadException: Invalid type PusherClient.Connection for instance field PusherClient.Pusher:_connection
from pusher-websocket-dotnet.
@damdo another problem is i cant use it in unity3d. as unity3d does not support nuget. i have to manullay find dll and put it in unity3d. when i use the dll file in assets i receive this error:
Assembly 'Assets/PusherClient.dll' will not be loaded due to errors:
Unable to resolve reference 'WebSocket4Net'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
Unable to resolve reference 'SuperSocket.ClientEngine'. Is the assembly missing or incompatible with the current platform?
Reference validation can be disabled in the Plugin Inspector.
i tested this on both android and windows target platform. is this realy tested on unity3d?
from pusher-websocket-dotnet.
Hey people, thank you for reporting your issues with the Unity integration. These past weeks we worked on a better integration between Pusher Channels and Unity.
On this note, today I've released a new repository that will be the reference for developers willing to integrate Pusher Channels with Unity: https://github.com/pusher/pusher-websocket-unity 🎉
The pusher-websocket-unity
repository will serve as:
- a Unity Base project which demonstrates how to integrate Pusher Channels and Unity
- a build environment for the official
.unitypackage
- a collection of example projects
From now on I'd suggest to keep the conversations on Unity there.
Thank you ✨
Dam
from pusher-websocket-dotnet.
great man. very glad to hear that. thanks. ill test it and tell you my results @damdo
from pusher-websocket-dotnet.
Closing this issue as Unity is now officially supported by Pusher Channels through https://github.com/pusher/pusher-websocket-unity as mentioned here #65 (comment)
from pusher-websocket-dotnet.
Related Issues (20)
- precenceCannel.member does not exist HOT 2
- ConnectAsyn exception HOT 2
- How to bind to "pusher: subscription_succeeded" event? HOT 2
- Mixing events HOT 3
- Deadlock when unsibscribe from channels HOT 5
- A call to SSPI could not be made; see inner exception (.NET Framework 4.5 and 4.7.2) HOT 3
- Buggy Pusher Client 2.0.0 NuGet HOT 1
- Update from 1.2 to 2.1 changed JSON structure HOT 2
- SemaphoreFullException HOT 7
- RemoteCertificateChainErrors with PusherClient in Xamarin forms HOT 4
- NullReferenceException when disposing websocket HOT 4
- ArgumentNullException HOT 2
- PusherClient 2.1.0 doesn't decrypts messages HOT 1
- Error when subscribing to channels from ios platform app HOT 3
- Reporting a vulnerability HOT 1
- Blazor WASM unable to connect HOT 2
- Unable to save excel file with pictures. HOT 1
- 403 Forbidden should be handled when authenticating user HOT 1
- System.InvalidOperationException (Connection.websocket_Opened) HOT 8
- Backoff delay never reset
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pusher-websocket-dotnet.