Search Issue Tracker
Fixed in 2020.2.X
Fixed in 2019.4.X
Votes
0
Found in
2019.4
2020.1
2020.1.5f1
2020.2
2021.1
Issue ID
1297957
Regression
No
[MacOS] [Linux] "No Engine References" setting does not work when enabled on asmdef file import settings
Reproduction steps:
1. Create a new project
2. Import contents of "ASMFILES.zip" into the assets folder of the project
3. In Editor, select Assets/IndependantScripts/IndieDef.asmdef
4. Notice that it has "No Engine References" enabled in the Inspector
5. Open the root of the project and open "IndieDef.csproj" using Rider Editor (read Notes 1, 3 below)
6. In the Solutions tab go to IndieDef -> Dependencies -> Assemblies
7. Inspect the References
Expected result: There are no references to Unity (exceptions would be platform related Assemblies such as UnityEditor.iOS.Extensions.Xcode and UnityEditor.iOS.Extensions.Common)
Actual result: There are references to UnityEditor, UnityEngine
Not reproducible with Windows
Reproducible with: 2019.4.18f1, 2020.2.0a8
Not reproducible with: 2020.2.0a9 (Fix version), 2020.2.2f1, 2021.2.0a2
Could not test with 2018.4.31f1 (because .asmdef file does not have an option to not include engine references)
Notes:
1. The references can be seen in Visual Studio and other IDEs as well but sometimes Visual Studio does not show references
2. The issue should not reproduce because IndieDef.asmdef (located in Assets/IndependantScripts/IndieDef.asmdef) import settings has "No Engine References" enabled
3. Sometimes the csproj files do not appear in the root after import, to generate them open IndieDef trough editor and close it
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a9
Resolution Note (fix version 2019.4):
Fixed in 2019.4.25f1 (01a0494af254)