Search Issue Tracker

Fixed in 2020.2.X

Duplicate in 2019.4.X, 2020.1.X

Votes

16

Found in

2019.1

2019.2

2019.3

2020.1

Issue ID

1175847

Regression

No

[Linux] Editor does not quit when pressing the X button

Linux

-

How to reproduce:
1. Create a new project
2. Enter Play mode
3. Exit Play mode
4. Press X to quit the Editor

Expected results: Editor shuts down
Actual results: Editor does not shut down, however it becomes unresponsive

Notes:
- It is not always reproducible, but it's mostly when a lot of work has been done on a beefy project (building, importing, loading)
- Up until 2020.1.0a8 this was always reproducible when the current platform was set to Android
- If this reproduces, the 'Unity' process disappears and the only way to quit the Editor is to kill the 'Main Thread' process
- When and if it crashes, similar stack traces to this are thrown:
#0 0x0055b7b70f3004 in DualThreadAllocator<DynamicHeapAllocator>::ValidateIntegrity(void const*) const
#1 0x0055b7b70e1702 in MemoryManager::Deallocate(void*, MemLabelId const&, char const*, int)
#2 0x0055b7b4e30c97 in dynamic_array<unsigned char, 0ul>::~dynamic_array()
#3 0x0055b7b7735895 in Texture2D::DestroyTexture()
#4 0x0055b7b766e838 in Cubemap::~Cubemap()

As of 12/5/2020 the bug doesn't exhibit crashing anymore

  1. Resolution Note (fix version 2020.2):

    Fixed in version 2020.2.0a8

Comments (15)

  1. rhodnius

    Mar 24, 2020 00:11

    Same here using Unity 2019.2.2f1 and 2019.2.21f1, some times it closes, and some others (when i work more time, do android builds, etc) it just wont close it, need to force close it directly.

  2. se5a

    Mar 09, 2020 03:52

    wondered if it was a regression of this problem: https://forum.unity.com/threads/unity-wont-close.223446/

    examining system monitor on Mint adb does apear to be running, but closing that does not seem to fix the problem with unity editor itself. after forcing unity editor to close using xkill, and closing unity hub, I've still got a lot of unity processes running.

  3. Raxe88

    Feb 26, 2020 16:34

    Happening to me too with Unity 2020.1.0a24.3156 on Ubuntu 18.04 LTS. One workaround is using the command:

    pkill -9 PID

    PID can be found using the command top

    Please fix...

  4. ziad10a

    Feb 07, 2020 14:32

    Using 2019.3.0f6 I have the same issue, when I close the editor it just hangs and when I force kill it, I can't reopen it cause it says "project already open"

  5. ARPAplus

    Aug 19, 2019 08:03

    Stable reproduce on latest Unity Hub, latest Unity Editor and latest Ubuntu (KDE). Always hanging up on exit from Unity Editor.

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.