com.unity.services.multiplayer 2.3.0
com.unity.services.multiplayer
Source docsNotes: processedReleased July 21, 2026
Download Options
Direct package downloads captured from Unity's package registry.
Unity Compatibility
Minimum Unity: 6000.0
Package Dependencies
- com.unity.collections (2.6.7)
- com.unity.modules.unitywebrequest (1.0.0)
- com.unity.nuget.newtonsoft-json (3.2.2)
- com.unity.services.authentication (3.7.0)
- com.unity.services.core (1.18.0)
- com.unity.services.deployment (1.7.2)
- com.unity.services.qos (1.4.1)
- com.unity.services.wire (1.4.4)
- com.unity.transport (2.7.3)
Features
- `SessionConnector` now supports a Join operation in addition to Create and CreateOrJoin.
- `SessionConnector.WithSessionOptions` to configure session name, max players, privacy, lock state, and password.
- `SessionConnector.WithDirectNetworkOptions` to configure a direct IP/port network.
- `SessionConnector.WithRelayNetworkOptions(RelayConnectionOptions)` to configure a relay network (region, protocol, preserve-region in one object).
- `SessionConnector.WithJoinByCode` to join a session by join code, with an optional password.
- `SessionConnector.WithJoinById` to join a session by session ID, with an optional password.
- `SessionConnector.WithCreateOrJoin` to create or join a session by ID.
- `SessionConnector.GetSessionOptions` to read back the currently configured session creation settings.
- `SessionConnector.GetJoinOptions` to read back the currently configured join settings, returned as a `JoinOptions` value.
- `SessionConnector.GetRelayNetworkOptions` to read back the currently configured relay network settings.
- `SessionConnector.GetDirectNetworkOptions` to read back the currently configured direct IP/port network settings.
- `JoinOptions` struct exposing the join mode (`Mode`), `SessionId` (when joining by ID), `SessionCode` (when joining by code), and optional `Password`.
- `JoinSessionMode` is now public, allowing external code to inspect whether a connector is configured to join by code or by session ID.
- `RelayConnectionOptions` class combining relay region, transport protocol, and preserve-region into a single object accepted by `WithRelayNetworkOptions` and returned by `GetRelayNetworkOptions`.
- `DirectConnectionOptions` class returned by `GetDirectNetworkOptions`, exposing listen IP, publish IP, and port as a snapshot.
Bug Fixes
- Creating a Session Connector asset from the **Assets > Create > Services > Multiplayer > Session Connector** menu now enters inline rename mode in the Project window, consistent with other asset creation menus.
- The Distributed Authority and Relay network handlers no longer emit a redundant `LogError` before throwing a `SessionException`. The failure is surfaced only through the thrown exception, with the underlying exception preserved as `InnerException`. Recoverable failures that the caller handles no longer produce an uncatchable console error (which, for example, caused passing scenarios to fail under the Unity Test Runner).
