Over 11,000 five-star assets
Rated by 85,000+ customers
Supported by 100,000+ forum members
Every asset moderated by Unity
Unity Version | Built-in | URP | HDRP |
---|---|---|---|
2019.4.28f1 | Compatible | Compatible | Compatible |
DEPRECATION WARNING - READ THIS BEFORE BUYING!
This asset is using and implementing legay / deprecated technologies.
Socket.IO V2 is not recommended to be used anymore.
We keep this package live on the Asset Store for a low price to allow developers to still buy and use it if they need to use the old V2 protocol. If possible, switch to socket.IO V4!
This asset is no longer maintained. There will be no more changes to the code, except required security fixes.
Do you need the newer, more robust Socket.IO v3 or v4? Find our other asset here!
Want to buy this asset anyways? Read on...
This asset implements an easy to use API for communicating to any socket.io v2.x powered backend like for example NodeJS microservices using the standard On/Emit Methods.
This implementation is heavily tested as we are using it in two of our game projects.
The library supports Receiving and Emitting events with zero or one data parameter (which can be a JSON object) as simple as. JSON-Object-Data which is received from the server is serialized into a string (JSON format). Plain text data is passed through unmodified. Binary payloads are not supported (You can encode them as Base64). ACK is also not supported. This library is ready made for simple Event-Based communication. It is not aiming to be a complete socket.IO implementation. It does not support namespaces.
See the technical details for more information.
Please note that this V2 asset is only receiving bugfixes as of March 2022 because of Socket.IO v2 barely being used anymore. There will be no more features or functions added to this release. You might probably want to switch to our more current V3/V4 asset.
This does not mean, that this asset has functional regressions. It is still working with the feature set as of early 2022.
Socket.IO V2 Client for Unity (Standalone & WebGL)
