Install Unity Transport
Follow these instructions to install Unity Transport.
Unity Transport 2.0 requires Unity Editor version 2022.2 or later.
WebGL only supports Unity Transport WebSocket connections in client mode.
Unity Transport (the com.unity.transport package) is separate from the NetworkTransport abstraction in Netcode for GameObjects.
You can install the Unity Transport package using the Package Manager in the Unity Editor:
- From the Unity Editor, select Window > Package Manager.
- Select Add (+) > Add package by name.
- In the Name field, enter com.unity.transport.
After the import completes, you should see Unity Transport under Packages in the Package Manager.