Search Issue Tracker

Fixed in 2020.2

Duplicate in 2019.4, 2020.1

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. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in version 2020.2.0a8

Comments (11)

  1. 033fecabe797b933929d65ed51243047?d=mm

    NlaakStudios

    Aug 23, 2020 19:30

    Still there in Ubuntu 20.04 LTS & Latest Unity Hub (Unity 2020.1.3f1)

    File-> exit does not work
    Right Click-> close does not work
    and HTOP KIll on the MANY threads does not work

  2. E763ae74722fcb1471d15bd324e6b8e6?d=mm

    sandstedt

    Jul 06, 2020 07:07

    Same problem still happens in Unity 2019.4.2f1 LTS after building to Android (Oculus Quest) using Ubuntu 20.04 LTS. Need to restart my computer to close it.

  3. A709baee3a7c3815689e9acb5276624c?d=mm

    amyblank

    May 20, 2020 17:17

    I'm also having this issue, tested with 2019.2.6, 2019.3.5, 2019.3.11, 2019.3.14. It also freezes when I try to re-enter play mode. Been using "pkill -9 PID" to work around it, but it's definitely slowing down my development. I'll be anxiously awaiting any fix or better workaround for this!

  4. 3002134b3e6ccbb8d62a71fbc8c23dc9?d=mm

    cgmaniac554

    May 15, 2020 17:49

    I have been using Unity 2019.3.12f1 on my Pop OS 20.04 for building Android Projects. Recently, this issue has been occurring most of the times. I make VR projects using Unity.

    Unable to use the "kill" command to kill the process.

  5. 3d485558f219fe775a710971a5ecfa6c?d=mm

    Achie1

    May 12, 2020 16:44

    I have the same problem. Using Unity 2019.3.13 on Ubuntu 20.04. But I only have this issue when I do Android build.

  6. 5a4b8146cda451cfcb380ce2ffead3bb?d=mm

    pvqr

    May 10, 2020 14:03

    Can confirm, happening on 2019.3.11f1 everytime I build to Android. If I'm not building to Android, application works as expected and closes normally.

  7. Fb54289eca6bb380fbde0b982493b594?d=mm

    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.

  8. A92ca414c6db4d37b7b9b5658463c05f?d=mm

    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.

  9. D855c81853c5e39be00a307356473f96?d=mm

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

  10. Dd945b706fca7a3ab31f160237970815?d=mm

    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"

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.