Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
17
Found in
2019.3.0a3
2019.3.3f1
2019.4
2020.1
2020.2
Issue ID
1238859
Regression
Yes
Crash with various stack traces when exiting Play Mode after recompiling scripts
How to reproduce:
1. Open user-submitted project (Zombie.zip)
2. Open the lab Scene
3. Make sure Editor scripts are set to 'Recompile and Continue Playing' in Preferences and Enter Play Mode
4. Open UIManager.cs script
5. Edit the script and save it
6. Go back to the Editor(it should recompile the scripts)
7. Exit Play Mode
Expected result: the Editor does not crash
Actual result: the Editor crashes
Reproducible with:2020.2.0a21, 2020.2.0a11, 2020.1.3f1, 2020.1.0b9, 2019.4.8f1, 2019.3.13f1, 2019.3.0a3
Not reproducible with: 2018.4.23f1, 2019.3.0a2
Could not test with: 2017.4.40f1(project packages incompatible)
Notes:
May crash immediately upon recompiling
May take multiple tries to reproduce
Comments (2)
-
lassade
Sep 24, 2020 14:49
I didn't have this problem on Windows 7, only after upgrading to 10.
Set Editor scripts to "Recompile After Finished Playing", it works for me although quite inconvenient that I had all the work to make sure hot reloading was working to not use it
-
claytoncurmi
Sep 15, 2020 14:08
Please resolve this issue asap as it is impossible to work with it.
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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a1
Resolution Note (fix version 2020.2):
Fixed in 2020.2.0b9
Resolution Note (fix version 2020.1):
Fixed in 2020.1.11f1
Resolution Note (fix version 2019.4):
Fixed in 2019.4.17f1