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
- Video does not play in macOS build when built app is placed in a path with a space in it on a specific project
 - Crash on AuxWindowManager::OnGotFocus when trying to maximize a tab while Visual Effect Graph window is open
 - “NullReferenceException: Object reference not set to an instance of an object” error is thrown when
 - [Metal] Game freezes after command buffer Timeout error
 - Addressables Report window UI is broken when opening via Build > New Build > Default Build Script
 
Resolution Note (fix version 2021.1):
Fixed in: 2019.3.0b5, 2021.1.0a6