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

Mono

-

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"

  1. Resolution Note:

    User project has a hung thread that is preventing the domain reload from completing.

Comments (3)

  1. jessee03

    Oct 12, 2022 22:27

    Still encountering this issue with latest unity version

  2. 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

  3. 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

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.