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
- Text Styles are not applied to Underline and Strikethrough when TextMeshPro text without tags is used
- Scene View selection is broken when there are multiple GameObjects that draw Gizmos
- Random Number Operator in a child System only has set limited seeds for particle spawning in a visual effect when entering the Play Mode
- Blender FBX file import triggering incorrect errors
- Overlay UI opaque colors are shown incorrectly in the Player when a HDR display and Linear Color Space are used
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)