Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2018.4
2019.4
2020.2
2020.3
2021.1
2021.2
Issue ID
1337602
Regression
No
Scripts are not recompiled when the script changes are made while the Build Settings Build folder select Window is open
How to reproduce:
1. Open attached project "ScriptsDontRecompile.zip"
2. Open PrintMeMessage.cs script (in Assets\Editor folder)
3. Open Build Settings Window
4. Click "Build" button
5. Change the message from "Test" to "Test2" in PrintMeMessage.cs and save the script
6. Click the Cancel button
7. Click Print/Print in the menu bar
Expected result: "Test2" is printed
Actual result: "Test" is printed since the editor did not recompile
Reproducible with - 2018.4.35f1, 2019.4.28f1, 2020.3.9f1, 2021.1.8f1, 2021.2.0a18
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
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Inactive "Skinning Editor" toolbar overlaps the help box in the "Sprite Editor" when asset is not editable
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a3