NativeWebSocket
🔌 WebSocket client for Unity - with no external dependencies (WebGL, Native, Android, iOS, UWP) (by endel)
Websocket-Sharp-UWP
UWP/Hololens websocket implementation matching the websocket-sharp interface for multi-platform unity websocket (by SoylentGraham)
NativeWebSocket | Websocket-Sharp-UWP | |
---|---|---|
5 | 1 | |
1,073 | 21 | |
- | - | |
1.6 | 0.0 | |
6 months ago | about 4 years ago | |
C# | C# | |
GNU General Public License v3.0 or later | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
NativeWebSocket
Posts with mentions or reviews of NativeWebSocket.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-07.
-
Live Streaming from Unity - Integrated Chat (Part 4)
We'll need WebSocket support, and once again there's a Unity package that we can use to help us out. Go to Window -> Package Manager to bring up the dialog and 'Add from git URL' using the NativeWebSocket (repo) GitHub URL https://github.com/endel/NativeWebSocket.git#upm.
-
WebSocketSharp work bad on Hololens 2
I quite successfully use NativeWebSocket with msgpack, and I get quit good results: https://github.com/endel/NativeWebSocket
-
Unity, PlayCanvas or something else for a browser game? Trying to avoid painful development.
This might be a bit of an issue. Basically there are many viable ways to network with Unity, but there is no good "official" Unity network stack. For example if you have a browser game, you won't be quite able to use UDP based network libraries. You could either use regular http requests then or WebSockets. For the later I had good experiences with https://github.com/endel/NativeWebSocket . However, I wouldn't say any of that network stuff is particularly beginner friendly if you just start out.
-
After some pain, WebGL build + websockets working for mulitplayer game prototype (setup that worked in comments)
I ended up with the NativeWebsocket library for client websocket work. All the other libraries I tried either were terrible to use, defaulted to TLS1.0 without an option to configure, or have been long dead. This one was great!
-
Wanting to learn game dev
Unity is certainly a good engine for a card game, but if you want to run the game in a browser (WebGL), it can be hard to get multiplayer to work since you can't use UDP libraries from what I know. A possible solution for this is here: https://github.com/endel/NativeWebSocket
Websocket-Sharp-UWP
Posts with mentions or reviews of Websocket-Sharp-UWP.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-04-07.
-
WebSocketSharp work bad on Hololens 2
Then I bumped into this GitHub https://github.com/SoylentGraham/Websocket-Sharp-UWP which might solve my problem with the WebSocketSharp but I don't know how can I replace the original WebSocketSharp with the one on the above link.
What are some alternatives?
When comparing NativeWebSocket and Websocket-Sharp-UWP you can also consider the following projects:
Serially - Adds a unity-supported, SerializableType class and an inspector for editing SerializeReference fields.
websocket-sharp-core - A websocket-sharp library port to .net standart 2.0
engine - Fast and lightweight JavaScript game engine built on WebGL and glTF
realtime-CSG-for-unity - Realtime-CSG, CSG level editor for Unity
apple-signin-unity - Unity plugin to support Sign In With Apple Id