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
- Location tooltip in the Viewport of UI Builder window does not update when the UI Document Asset is moved to a different location
- Audio Clip Volume and Avoid Repeating Last fields values cannot be changed in Audio Random Container window
- Setting a variable in the root selector via an imported USS file in a theme does not work
- No character limit when creating a new Scene with excessively long name, Editor can be forced to crash
- URP Decal Projector flickers/glitches when added to Cube or Quad GameObjects as a Component
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0a9
Resolution Note (fix version 2019.4):
Fixed in 2019.4.25f1 (01a0494af254)