# psygames/UnityWebSocket

:whale: The Best Unity WebSocket Plugin for All Platforms.

Repository: https://github.com/psygames/UnityWebSocket
Canonical: https://ross.abutalabs.com/products/unitywebsocket
Language: C#
License: MIT
License Family: permissive
Topics: websocket, unity, webgl, jslib, socket
Last push: 2025-09-16T07:10:40+00:00

## Health v2 (maintenance only)
Score: 49/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 42, release rhythm 28, longevity 100
- inputs: {"age_days": 3721, "days_push": 351, "days_rel": 612, "gap_med": 41, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1204, forks 226 (observed 2026-08-28T04:03:59.089341+00:00)

## What it is
A Unity WebSocket plugin written in C# that provides a unified WebSocket client API across all Unity-supported platforms, including WebGL via jslib. It is distributed as a Unity package and supports Unity 2018.3+.

## Use cases
- add websocket networking to a Unity game
- connect a Unity WebGL build to a websocket server
- send and receive text or binary messages in Unity
- real-time multiplayer communication in Unity
- websocket client that works on all Unity platforms

## When to choose
- you need a single WebSocket API that works across Unity platforms including WebGL
- you want a simple, MIT-licensed Unity package installable via Package Manager

## When to avoid
- you need a full networking stack with matchmaking or transport abstraction beyond raw WebSocket
- your project does not use Unity

## Facets
- artifact type: plugin
- maturity: active
- function: websocket, networking
- domain: web-development, cross-platform
- platform: cross-platform, editor-plugin
- tags: unity, unity-package, webgl, game-client, real-time, game-development, web-server

## Member repositories
- psygames/UnityWebSocket (main) score 49

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:59.089341+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:19:40.408343+00:00, confidence not recorded.
  - readme: https://github.com/psygames/UnityWebSocket (fetched 2026-08-28T04:03:59.089341+00:00, sha 23cbdf4680ae)
- Data as of 2026-08-30T08:39:29.467469+00:00.
