Search Issue Tracker
Fixed in 2021.2.X
Votes
0
Found in
2019.3
2019.3.1f1
2020.1
2020.2
Issue ID
1220959
Regression
No
[UX] Assemblies which reference 'Moq.dll' are not referenced in Editor when they include any platform except Editor
Reproduction steps:
1. Open the attached project ("case_1220959-BrokenOverrides.zip")
2. Notice the 'type or namespace name 'Moq' could not be found' error in the console
3. Select the "Assets/Items/Tests/Project.Items.Tests.asmdef" assembly definition
4. Change the included platforms list to only include Editor and press Apply
5. Notice that 'Moq' is now referenced ('Unexpected use of an unbound generic name' error is thrown, but it is expected)
Expected result: The workflow with assemblies similar to 'Moq.dll' is more streamlined
Actual result: Current workflow is confusing and requires the user to know which assemblies are not player compactible
Reproducible with: 2019.3.9f1, 2020.1.0b5, 2020.2.0a7
Couldn't test with 2017.4, 2018.4 (errors after downgrade)
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
- “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
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a18