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
- Wrong shader appears when Particle System is added as a component
- Realtime Hard Shadows resolution of Spot Light and Point Light cannot be changed by script when using Universal Render Pipeline (URP)
- Warnings in the Package manager have no margin on the right side
- Errors are thrown in the Console and the Game view fails to render when RenderGraph Compatability is disabled and a Camera stack has a Pixel Perfect Camera Component with "Stretch Fill" Crop Frame
- [Linux] Crash on System.Runtime.InteropServices.Marshal:copy_from_unmanaged_fixed when accessing shared memory
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a18