Search Unity

Bug Application.Shutdown.CleanupMono never finishes.

Discussion in 'Editor & General Support' started by WinterboltGames, May 30, 2021.

  1. WinterboltGames

    WinterboltGames

    Joined:
    Jul 27, 2016
    Posts:
    259
    Happens randomly with no prerequisites even in TOTALLY empty projects.

    Unity_xCG6OXyASB.png
     
  2. tirarex

    tirarex

    Joined:
    Feb 19, 2015
    Posts:
    16
    Same.
     
    amateurd likes this.
  3. a_loupas

    a_loupas

    Joined:
    Mar 17, 2021
    Posts:
    16
    Still happens on unity 2021.2
     
  4. amateurd

    amateurd

    Joined:
    Nov 1, 2016
    Posts:
    97
    Yes, still happening all the time for me.

    The only way to close Unity in 2021 is to kill the process with task manager.

    Every Single Day.

    Wow.
     
    fk95034 likes this.
  5. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    Yup same here, seems bad.
     
    amateurd likes this.
  6. Hypertectonic

    Hypertectonic

    Joined:
    Dec 16, 2016
    Posts:
    75
    Very frustrating issue...
     
    amateurd likes this.
  7. AliceWasNeverHere

    AliceWasNeverHere

    Joined:
    Aug 16, 2021
    Posts:
    11
    There seem to be a lot of issues such as this in the Unity forum with no "apparent" developer attention.

    Have any of you submitted a bug report? What's its issue ID? It helps far more to share your issue tracker ID here rather than just pointing out your frustration.

    Multiple people complaining quite often proves to be time-wasting noise, but those same people voting on an issue with code attached to help reproduce a bug is far more likely to get favorable results.

    Also, try not to assume there are no prerequisites, as something causes the issue; code doesn't lie.

    Check the help menu in the editor to submit a bug report; it's easy. Duplicate issues are even okay, as the dev team is capable of referencing them together.

    If your codebase is private, try to reproduce the issue in a new project (or a stripped-down copy) to share with the devs in your report.

    If you have no idea what causes the issue, don't sweat it; just do your best to describe the situation and result then submit that bug report so others can vote on it.
     
    MiguelCoK likes this.
  8. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    Reported at (Case 1388272), it even happens with the brand new 2021.2.6f1
     
  9. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    I usually do take the time to report issues when I am not rammed with project work but when its something easy to spot like the editor borking after a build or something that happens every time the editor is used, I often find out someone else already reported it days ago.
     
    amateurd likes this.
  10. WinterboltGames

    WinterboltGames

    Joined:
    Jul 27, 2016
    Posts:
    259
    Unnecessary reply redacted
     
    Last edited: Dec 13, 2021
  11. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    Let's try not to get too feisty here peeps, we're all trying to help improve the engine and to help each other succeed, thanks @AliceWasNeverHere for reminding me to report a bug of it. Let's hope it gets fixed soon!
     
  12. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    I heard back from support:

    Thanks for getting in touch, we actually know about this issue but unfortunately, we cannot provide an Issue Tracker link, as this bug is only tracked internally.

    Workaround:
    - Open Windows Task Manager.
    - Find the Unity Editor process
    - Expand it to show child processes
    - Click the 'Node.js Server-side JavaScript' (choose the one that's for the build\WebGLSupport\BuildTools\Emscripten-win-x64\node\node.exe (you can right-click and select Open File Location to see which one this is).
    - Right-click and choose 'End task'
    This then closes the Unity Editor.
     
  13. amateurd

    amateurd

    Joined:
    Nov 1, 2016
    Posts:
    97
    That's really helpful. Thank you.
     
  14. eric-xiyu-xue

    eric-xiyu-xue

    Joined:
    Dec 11, 2021
    Posts:
    1
    This doesn't work for me.
     
  15. ROBYER1

    ROBYER1

    Joined:
    Oct 9, 2015
    Posts:
    1,454
    Try a newer engine version I believe it was fixed
     
    tabearunzheimer likes this.
  16. GainfulSage

    GainfulSage

    Joined:
    Apr 30, 2015
    Posts:
    106
    Late to the party, but I'm also getting the same error related to the GitHub for Unity plugin. Killing the Git-related tasks seems to do the job.

    tl;dr uninstalling the GitHub for Unity fixed.
     
  17. aimatme

    aimatme

    Joined:
    Jul 3, 2012
    Posts:
    24
  18. Hypertectonic

    Hypertectonic

    Joined:
    Dec 16, 2016
    Posts:
    75
    Yes this did the trick for me. Unfortunate since I used that a lot. Shame Unity just up and abandoned it.
     
  19. aimatme

    aimatme

    Joined:
    Jul 3, 2012
    Posts:
    24
    Unity3d 2021.2.12, the problem still exits
     
  20. Wolfos

    Wolfos

    Joined:
    Mar 17, 2011
    Posts:
    951
    Still seeing this issue in 2021.3 LTS. It's been present since I updated this project to 21.2. Doesn't happen in every project though.

    It's not WebGL, and I don't use the Github plugin.

    For now I've set my Task Manager to default to the "Details" tab, and sort by memory which puts Unity on top so I can kill the process easily.
     
  21. drcrck

    drcrck

    Joined:
    May 23, 2017
    Posts:
    328
    Or you can Win+R and
    Code (csharp):
    1. taskkill /f /im Unity.exe
    After used once, it will stay in the win+r history so you won't need to type or paste it every time

    PS Back in the Unity 5 time, when it was freezing every hour, I had this command bound to Pause/Break via AutoHotkey :D
     
    WinterboltGames and Wolfos like this.
  22. fk95034

    fk95034

    Joined:
    Jun 14, 2022
    Posts:
    1
    thanks for the help!
     
  23. Slock20969

    Slock20969

    Joined:
    Nov 18, 2015
    Posts:
    15
    Google brought me here, still happening with Unity 2021.3.3f1 LTS edition. :/
     
  24. TieSKey

    TieSKey

    Joined:
    Apr 14, 2011
    Posts:
    225
    Google brought me here, still happening with Unity 2021.3.8f1 LTS edition. :/
    (didn't happen on same project with 2021.3.4f1 guess I'll downgrade)
     
  25. Aldaaay

    Aldaaay

    Joined:
    Oct 12, 2020
    Posts:
    1
    upload_2022-9-10_13-8-3.png
    Dammit....
    I just left the PC on all night
     
    nzhangaudio and solkyoshiro like this.
  26. Ignacii

    Ignacii

    Joined:
    May 23, 2013
    Posts:
    107
    lmao. f

    Problem still there with 2021.3.8f1 W11
     
    solkyoshiro likes this.
  27. solkyoshiro

    solkyoshiro

    Joined:
    Aug 25, 2021
    Posts:
    27
    The problem is still here in 2021.3.12f1, Windows 11.
     
  28. Blade_Master_2020

    Blade_Master_2020

    Joined:
    Aug 3, 2019
    Posts:
    38
    The problem is still here in 2022.1.20f1c1, Windows 10.
     
  29. JJRivers

    JJRivers

    Joined:
    Oct 16, 2018
    Posts:
    137
    Issue persists on 2022.2.6f1 on Windows10(64bit)
     
    curtispelissier and bb8_1 like this.
  30. Neiyra

    Neiyra

    Joined:
    Apr 19, 2016
    Posts:
    28
    Still in 2022.2.7f1 on Windows 10 (64bit). :(
    Appeared for the first time after installing the Entities.Graphics package.
     
  31. JJRivers

    JJRivers

    Joined:
    Oct 16, 2018
    Posts:
    137
    Incase this is relevant info, i also have the full DOTS stack installed including Entities.Graphics
     
  32. Neiyra

    Neiyra

    Joined:
    Apr 19, 2016
    Posts:
    28
    Additional Info while upgrading to 2022.2.8f1 today: I upgraded 9 Projects, 7 without ECS and 2 with ECS - no freeze on the Projects without ECS, on both Projects with the ECS packages the freezing occurs.
    After deinstalling the entities.graphics package (and entities package via dependencies), the issue is gone.
     
    Last edited: Feb 24, 2023
    Thygrrr and kmowers like this.
  33. Thygrrr

    Thygrrr

    Joined:
    Sep 23, 2013
    Posts:
    700
    upload_2023-3-6_12-15-13.png

    Yup, this is a part of my life now since ~2022.2
    (ECS project).

    I can't even hook this with my debugger to see where this is happening, seems entirely internal. This close to whipping out IDApro or something...
     
    Angelo13C and charleshendry like this.
  34. unity_jgu_81G9pIjQqQ

    unity_jgu_81G9pIjQqQ

    Joined:
    Sep 25, 2019
    Posts:
    3
    Same 2022.2.6f1 (DOTS packages installed)
    :(:(:(:(:(:(
     
    Angelo13C and charleshendry like this.
  35. Angelo13C

    Angelo13C

    Joined:
    Feb 16, 2020
    Posts:
    11
    Same here, 2022.2.9 (with DOTS packages installed). It seems like I started having this issue when I created a new shader graph, but I am not sure
     
    ammills11 likes this.
  36. Neiyra

    Neiyra

    Joined:
    Apr 19, 2016
    Posts:
    28
    Still the same on 2022.2.11f1.
     
    Angelo13C likes this.
  37. Botaurus

    Botaurus

    Joined:
    Feb 20, 2013
    Posts:
    81
    Same problem on 2022.2.14, every time I close Unity
     
  38. lacas8282

    lacas8282

    Joined:
    Apr 25, 2015
    Posts:
    138
    same in unity 2022.2.17f1
     
  39. Botaurus

    Botaurus

    Joined:
    Feb 20, 2013
    Posts:
    81
    I fixed the issue (or worked around it) by closing a bunch of Unity Ui elements. One of them was causing the issue, not sure which one. But with a slimmed down interface I haven't seen it in a while. Also might have been Unity VCS, which I disabled around the same time as closing a bunch of UI elements (Project Settings > Version Control > Unity Version Control Settings)
     
  40. lacas8282

    lacas8282

    Joined:
    Apr 25, 2015
    Posts:
    138
    Changed to unity 2022.2.18, now every time I close I get this. I have to close with KILL PROCESS in win10
     
  41. theman224

    theman224

    Joined:
    Mar 23, 2017
    Posts:
    5
    Same here. Not gonna disclose my Unity version because i am an annoying anarchist. Killing Unity in the taskmanager every day is my live now...
     
  42. Neiyra

    Neiyra

    Joined:
    Apr 19, 2016
    Posts:
    28
    And now we are having 2022 LTS, and still have to close the Editor with the Task Manager. :)
     
    lacas8282 likes this.
  43. TieSKey

    TieSKey

    Joined:
    Apr 14, 2011
    Posts:
    225
    But of course, LTS stands for Lose Time Shutting down.

    Sorry, couldn't resist, hahahahahaha
     
    amateurd likes this.
  44. lacas8282

    lacas8282

    Joined:
    Apr 25, 2015
    Posts:
    138
    LTS naming is just a joke, same S*** like the others...:D
     
  45. Mars91

    Mars91

    Joined:
    Mar 6, 2012
    Posts:
    572
    For reference I solved it by just closing visual studio.
     
  46. Neiyra

    Neiyra

    Joined:
    Apr 19, 2016
    Posts:
    28
    Unfortunately, this does not work for me. Error occurs always when I was in PlayMode, even if I never opened VisualStudio.
     
  47. Rodakai

    Rodakai

    Joined:
    Apr 3, 2014
    Posts:
    9
    Yup, happens with LTS 2022.3.1f1... Go into Play Mode, try to close afterwards then it's a RIP o_O
     
  48. rpil

    rpil

    Joined:
    Sep 3, 2018
    Posts:
    1
    I finally got around this by making sure there is no Shader Graph or UI Builder window/tab open. Try just making sure all shader graphs are closed before exiting Unity.
     
    ArtemPavlovskyi and Chmyke like this.
  49. Neiyra

    Neiyra

    Joined:
    Apr 19, 2016
    Posts:
    28
    I don´t use ShaderGraph, and there is no UI Builder Window open. :) For testing purposes, I open the project, hit start, exit playmode, then close the project -> RIP.
     
    Last edited: Jun 27, 2023
  50. jRocket

    jRocket

    Joined:
    Jul 12, 2012
    Posts:
    700
    Still happens in 2022.3.2

    upload_2023-7-8_18-32-11.png

    Why is this game engine so buggy?
     
    ammills11 likes this.