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
- [Android][iOS] The keyboard closes and re-opens when consecutive input fields are selected
- Complex Sub Graph connected to a Voronoi node is ignored when the shader gets applied as a Material
- Compute Shader property not set error when entering play mode with path tracing and PBR sky
- "WebGL Publish" detects WebGL module and allows building when it is installed without restarting the project
- Editor is non-responsive and flickers when multiple Water System instances are enabled
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