Search Issue Tracker
Won't Fix
Votes
3
Found in
5.3.4p1
Issue ID
785473
Regression
No
Unity Editor hangs when editing scripts in play mode
Steps to reproduce:
1. Open attached project ("case_785473-MasterPiss").
2. Open scene named "ExperimentalScene".
3. Press play button in the Editor.
4. Open "MainController" script in Visual Studio 2015.
5. Add this line of code (or similar) somewhere inside of Start() function:
Debug.Log("error");
6. Go back to Unity's editor and press stop button.
7. Notice that you cannot select or press something anymore and TaskManager shows that Unity is "Not responding".
Expected result:
Editing scripts in play mode should not make Unity's Editor to hang.
Reproduced with:
5.4.0b13, 5.3.4p2, 5.3.4f1, 5.2.4f1, 5.1.0f3.
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
- [Silicon] Crash on Bytenado.Chatterbox:.ctor when opening a project after creating a partial class of a Dictionary<string, int> containing about 125k entries
- Improve Docs on IHV / DDS import
- Rendering into RenderTexture is affected by Camera transforms when using DrawMeshNow
- [MacOS] Switching project functionality when importing a complete project is broken
- UI Toolkit Debugger has no minimum size for its tabs
iBicha
Apr 15, 2016 01:30
A more obvious pattern of this happening is when the project contains native plugins. it probably hangs after editing because it is trying to reload native plugins in play mode.
RKeown3D
Apr 06, 2016 20:58
Last lines in Editor.log file, during every crash I've experienced on this is as follows:
Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.002718 seconds (Nothing changed)
Refresh: detecting if any assets need to be imported or removed ... Refresh: elapses 0.002838 seconds (Nothing changed)
Cleanup mono
RKeown3D
Apr 06, 2016 20:54
I'm actually seeing this as well, while working with the editor script for the Unity Package Asset Index asset. I'm using 5.3.4.p1 (64-bit)