Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
2021.2
2021.2.12f1
2022.1.0b7
2022.2.0a1
Issue ID
1407597
Regression
Yes
Ambiguous method error when asmdef only targets Editor
Reproduction steps:
1. Open the user's project
Expected result: there are no errors
Actual result: there is an error "error CS0121: The call is ambiguous between the following methods or properties: 'System.ObservableExtensions.Subscribe<T>(System.IObservable<T>, System.Action<T>)' and 'UnitySupport.Plugin.Extensions.Subscribe<T>(System.IObservable<T>, System.Action<T>)'"
Reproducible with: 2021.2.14f1, 2022.1.0b7, 2022.1.0b10, 2022.2.0a1, 2022.2.0a6
Not reproducible with: 2019.4.34f1, 2020.3.30f1, 2022.1.0b6
Workaround:
1. Go to Assets > Editor and press on UnitySupport.Editor.asmdef
2. In the Inspector window under Platforms, note that only the Editor is enabled
3. Enable any runtime platform (e.g. iOS) and press Apply
4. Note that error message goes away
Notes:
- Seems that System.Reactive.Core.dll is automatically referenced if the asmdef targets only the Editor
Comments (1)
-
ccw3
May 02, 2022 14:45
When do you plan bug fixing in 2021.3.X, your Long Term Support release?
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
- Flickering bright white dots in the Scene when the Android Platform is selected and DX11 Graphics API is used with Iris(R) Xe Graphics GPU
- Inconsistent capitalization and misaligned text in multiple query blocks in Search window
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a9
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.1f1
Resolution Note (fix version 2021.3):
Fixed in: 2021.3.3f1