Search Issue Tracker
By Design
Votes
1
Found in
2018.4
2019.3.14f1
2019.4
2020.1
2020.2
Issue ID
1252954
Regression
No
Editor freezes when recompiling scrips in Play Mode
Reproduction steps:
1. Open user's attached project and scene "WebcamParallexMain"
2. Enter Play Mode
3. Open script "FaceServer"
4. Edit the script and save the changes
5. Go back to the editor
Expected result: Scrips are recompiled
Actual result: Editor freezes
Reproducible with: 2018.4.23f1, 2019.4.0f1, 2020.1.0b12, 2020.2.0a14
Note:
- Reproducible with Visual Studio, Visual Studio Code, Rider
- With 2020.2.0a14 freeze is reproducible with "Recompile And Continue Playing" and "Stop Playing And Recompile" options selected
- With 2018.4.23f1 freeze is reproducible with "Recompile And Continue Playing"
-
jessee03
Oct 12, 2022 22:27
Still encountering this issue with latest unity version
-
HofiOne
Nov 08, 2021 18:32
possible regression as same happens in 2021.2.1f1 on macOS
this one is extremely annoying and renders the editor almost unusable -
Lester2350
Jun 08, 2020 11:23
I have this annoying "problem" that whenever I edit a script, save the changes and then go back to Unity, the editor freezes for about 5 seconds.
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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note:
User project has a hung thread that is preventing the domain reload from completing.