Search Issue Tracker

Active

Votes

1

Found in [Package]

1.0.0

Issue ID

MPSSDKB-12

Regression

No

Ambiguous reference errors are thrown when both Services.Multiplayer and Services.Relay packages are installed

Package: Multiplayer Services

-

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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.