Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2019.4.X, 2020.3.X, 2021.1.X
Votes
1
Found in
2019.4
2020.3
2021.1
2021.1.1f1
2021.2
Issue ID
1326820
Regression
No
Stop Playing and Recompile option causing errors and recompiling at the wrong time
Reproduction steps:
1. Create a new Project
2. Go to Edit > Preferences > General; and set Script Changes While Playing to Stop Playing and Recompile
3. Create a new MonoBehaviour script and Open the Script with VS and Attach it to an Object in the Scene
4. Enter Play mode
5. Make a Change to the Script
6. If the issue does not reproduce, restart the Editor without restarting VS and Repeat from step 4
Expected result: The Editor exits Play mode and Recompiles
Actual result: The Editor recompiles, then exits Play mode causing errors in the Console
Reproducible with: 2019.4.24f1, 2020.3.5f1, 2021.1.4f1, 2021.2.0a14
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
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a18
Resolution Note (fix version 2021.1):
Fixed in 2021.1.10f1
Resolution Note (fix version 2020.3):
Fixed in 2020.3.13f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.31f1