Combining WithRelayNetwork() and WithDirectNetwork() throws a bare System.Exception exposing the internal type name NetworkInfoOption
Package: Multiplayer Services
Multiplayer
Open
2.3.X
Steps to reproduce:
1. Create a new project using the Universal 3D template
2. Install Services Multiplayer package via Package Manager window
3. Add the “NetworkOptionConflictRepro.cs” provided script component to a GameObject in the Hierarchy window
4. Enter Play mode
5. Observe the Console window
Actual results: "Exception: NetworkInfoOption Option is already included”: a bare System.Exception naming a type that is not part of the public API
Expected results: a SessionException with SessionError.InvalidParameter, naming the two public methods that conflict
Reproducible with versions: 2.3.1 (6000.0.81f1, 6000.3.24f1, 6000.5.11f1, 6000.6.1f1, 6000.7.0a6)
Tested on (OS): macOS 26 (Apple silicon)
Exception (actual): NetworkInfoOption Option is already included
UnityEngine.Debug:LogError (object)
UgsTestbed.Repros.NetworkOptionConflictRepro:Start () (at Assets/NetworkOptionConflictRepro.cs:27)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?