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

Scripting

-

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

  1. Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a18

  2. Resolution Note (fix version 2021.1):

    Fixed in 2021.1.10f1

  3. Resolution Note (fix version 2020.3):

    Fixed in 2020.3.13f1

  4. Resolution Note (fix version 2019.4):

    Fixed in 2019.4.31f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.