NativeWebSocket
🔌 WebSocket client for Unity - with no external dependencies (WebGL, Native, Android, iOS, UWP) (by endel)
websocket-sharp-core
A websocket-sharp library port to .net standart 2.0 (by ImoutoChan)
NativeWebSocket | websocket-sharp-core | |
---|---|---|
5 | 1 | |
1,073 | 30 | |
- | - | |
1.6 | 0.0 | |
6 months ago | over 1 year 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-core
Posts with mentions or reviews of websocket-sharp-core.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-01-16.
-
After some pain, WebGL build + websockets working for mulitplayer game prototype (setup that worked in comments)
I used the websocket-sharp-core repo. I had a really hard time navigating how to get a C# Websocket server up and running on .net core 3.1/Ubuntu. This worked for me, but I don’t love the library APIs and the project seems abandoned…
What are some alternatives?
When comparing NativeWebSocket and websocket-sharp-core you can also consider the following projects:
Serially - Adds a unity-supported, SerializableType class and an inspector for editing SerializeReference fields.
Websocket-Sharp-UWP - UWP/Hololens websocket implementation matching the websocket-sharp interface for multi-platform unity websocket
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