Search Issue Tracker
Fixed in 2021.1.X
Votes
0
Found in
2018.4
2019.3.0b4
2020.2.0b3
2020.2.6f1
2020.3
2021.1
Issue ID
1320343
Regression
Yes
Editing scriptingDefineSymbols in ProjectSettings.asset file doesn't cause recompilation upon opening the project
Reproduction steps:
1. Open user's project "scriptassemblycache2020.2.zip"
2. Notice the message in the Console
3. Close Unity Editor
4. Go to project's folder -> ProjectSettings -> open ProjectSettings.asset in notepad or any code editor
5. Find the scriptingDefineSymbols and change NOTFOO to FOO, and then save the file
6. Open the project once again
7. Notice the message in the Console
Expected result: First time Console prints out "Foo is not defined", second time Console prints out "Foo defined"
Actual result: Console prints out "Foo is not defined" both times, which means that there wasn't a recompilation after the change of the scriptingDefineSymbols in ProjectSettings.asset file
Reproducible with: 2018.4.33f1, 2019.3.0b4, 2020.2.0b3, 2020.3.3f1, 2021.1.0a5
Not reproducible with: 2019.3.0b5, 2019.4.23f1, 2020.2.0b2, 2021.1.0a6, 2021.1.1f1, 2021.2.0a11
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
- [Linux] Dropdown menus are filled with empty entries when the Dropdown intersects with the Editors borders
- [HDRP] [Metal] Tiled artefacts when using DRS
- [HDRP] Empty template starts with incorrect Physically Based Sky ground
- Big chunk of "Untracked" memory in the Memory Profiler screenshot when a custom .obj file is loaded while in Play Mode
- Video contains artifacts when played in the Video Preview section in the Inspector Window
Resolution Note (fix version 2021.1):
Fixed in: 2019.3.0b5, 2021.1.0a6