Search Issue Tracker
Fixed
Fixed in multiplayer-services-1.1.0, services-matchmaker-1.2.0, services-relay-1.2.0, services-lobby-1.3.0, services-multiplay-1.3.0
Votes
4
Found in [Package]
multiplayer-services-1.1.0
services-matchmaker-1.1.5
services-lobby-1.2.2
services-multiplay-1.2.5
Issue ID
MTTB-657
Regression
No
Ambiguous reference errors are thrown when both Services.Multiplayer and Services.Relay packages are installed
Reproduction steps:
1. Open the attached “ASDQWE” project
2. Observe the Console Window
Expected result: There are no compilation errors
Actual result: There are multiple “error CS0433: The type 'Allocation' exists in both 'Unity.Services.Multiplayer, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' and 'Unity.Services.Relay, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'“ compilation errors
Reproducible with: 0.6.0, 1.0.0 (2022.3.50f1, 6000.0.22f1)
Not reproducible with: 2021.3.44f1 (Multiple compilation errors from various packages)
Reproducible on: MacOS 14.6.1 (Intel), Windows 10 (user’s)
Not reproducible on: No other environment tested
Notes:
- Using the fully qualified type names does not fix the issue (e.g.: Unity.Services.Relay.RelayService)
- The script from which the errors arise does not use Unity.Services.Multiplayer package API
Comments (3)
-
UnityRalahHaddad
Nov 14, 2024 16:00
We are working on a better warning for this issue, in the meantime, please use this documentation to migrate from the Relay standalone package into the Multiplayer Service Package
https://docs.unity.com/ugs/en-us/manual/mps-sdk/manual/migration-path -
ifehoward
Nov 12, 2024 21:14
I am having this issue in my project that is using both Relay and Unity Multiplayer Services.
Is there a work around that doesn't involve removing Unity Multiplayer from the package manager?
-
unity_vX5iEeRgVNpLDQ
Nov 10, 2024 01:08
thanks very helpfully! aqfter removed unity multiplayer package manager thats make the issues cleared
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
- Incorrect rotations on bones when importing FBX animations with a Humanoid Rig
- Render Graph Viewer “Pass List” section is flickering when resizing vertically and the Render Graph Viewer window is docked
- Render Graph Viewer Capture button plays the click animation but does not do anything when the Capture button is pressed with the “Enter” key on the keyboard
- UI Builder Scrollview is unable to scroll all the way down when the window is downsized vertically
Resolution Note:
There are no fixes planned for this Bug