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
- [macOS] Project fails to load when Virtual Artifacts are Corrupted
- Long scheduler times on main thread when using InstantiateAsync with a singular massive Prefab
- The project hangs upon opening it when importing the "discrete_rank2_vector_v2_0.onnx" file
- Opening the Look Dev hangs the Editor when the window is opened for the first time in the project or after deleting the Library folder
- Look Dev has blurry icons on 4k monitors
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