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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
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