Version: 2.2.1
Install Unity Transport
Follow these instructions to install Unity Transport.
Prerequisites
Unity Transport 2.0 requires Unity Editor version 2022.2 or later.
note
WebGL only supports Unity Transport WebSocket connections in client mode.
danger
Unity Transport (the com.unity.transport package) is separate from the NetworkTransport abstraction in Netcode for GameObjects.
Install Transport
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.