Search Unity

Bug Report: Unity Hub 2.2.1 fails to install or delete editors

Discussion in 'Unity Hub' started by stillmotion, Dec 9, 2019.

  1. stillmotion

    stillmotion

    Joined:
    Jun 18, 2017
    Posts:
    1
    Steps:
    - Open Unity Hub 2.2.1
    - Login to account
    - Try to install 2019.3.0.f1. Result: Noop after confirming EULA
    - Try to remove previous 2018.3 build. Result: Noop after hitting remove button.

    Tried:
    - Uninstalling unity hub, all editors, restarting computer, reinstalling unity hub
    - Logging in and logging out

    Looks like the issue is with the install daemon not having the correct permissions:

    Log output:
    Code (JavaScript):
    1. {"moduleName":"UnityIPCServer","level":"info","message":"[ 'IPC Server Unity-hubInstallServer started' ]","timestamp":"2019-12-09T01:49:40.439Z"}
    2. {"moduleName":"UnityIPCServerPlatform","level":"info","message":"[ 'spawn elevated child process to Unity-hubInstallServer' ]","timestamp":"2019-12-09T01:49:40.439Z"}
    3. {"moduleName":"UnityIPCServerPlatform","level":"info","message":"[ 'elevate \"C:\\\\Program Files\\\\Unity Hub\\\\Unity Hub.exe\" -- --winInstaller' ]","timestamp":"2019-12-09T01:49:40.440Z"}
    4. {"moduleName":"UnityIPCServerPlatform","level":"info","message":"[ 'Not initialized. Waiting for connect..' ]","timestamp":"2019-12-09T01:49:40.440Z"}
    5. {"moduleName":"UnityIPCServer","level":"info","message":"[ 'emit stop child process of Unity-hubInstallServer' ]","timestamp":"2019-12-09T01:49:40.502Z"}
    6. {"moduleName":"UnityIPCServerPlatform","level":"error","message":"[ Error: User did not grant permission.\n      at C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\sudo-prompt\\index.js:534:29\n      at ChildProcess.exithandler (child_process.js:319:5)\n      at ChildProcess.emit (events.js:194:13)\n      at maybeClose (internal/child_process.js:998:16)\n      at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5) ]","timestamp":"2019-12-09T01:49:40.502Z"}
    7. {"moduleName":"UnityIPCServer","level":"info","message":"[ 'IPC server Unity-hubInstallServer and client closed' ]","timestamp":"2019-12-09T01:49:40.502Z"}
    8. {"moduleName":"EditorManager","level":"error","message":"[ 'editor download/install cancelled because of',\n  Error: User did not grant permission.\n      at C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\sudo-prompt\\index.js:534:29\n      at ChildProcess.exithandler (child_process.js:319:5)\n      at ChildProcess.emit (events.js:194:13)\n      at maybeClose (internal/child_process.js:998:16)\n      at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5) ]","timestamp":"2019-12-09T01:49:40.502Z"}
    9.  
     
    mdrunk and BartNT like this.
  2. Rafarix

    Rafarix

    Joined:
    Jan 29, 2018
    Posts:
    9
    I am getting a very similar issue as well. My anti virus keeps detecting trojan (execute.bat file) whenever I try to remove or install a editor. When I disabled it and tried installing and uninstalling nothing happens. No download starts for a new editor and old ones just sits there doing nothing.

    I have tried uninstalling Unity Hub and reinstalling, but the same thing just happens. I'm just going to look for an older version to revert to so I can get those functionalities back.
     
  3. BartNT

    BartNT

    Joined:
    Sep 12, 2013
    Posts:
    13
    Last edited: Dec 11, 2019
    stillmotion, mdrunk and wobes like this.
  4. Rafarix

    Rafarix

    Joined:
    Jan 29, 2018
    Posts:
    9
  5. FredyBilbao

    FredyBilbao

    Joined:
    Nov 12, 2016
    Posts:
    2
    Cant install Unity 2019.2.16f1 with UH 2.2.1.
    Unity hub download it but do nothing when try to install it.
     
  6. JWLewis777

    JWLewis777

    Joined:
    May 17, 2015
    Posts:
    67
    Same as above, Cant install Unity 2019.2.16f1 with UH 2.2.1
    I selected the editor, deselected visual studio since its already installed
    I selected the Android, WebGL and Windows modules.
    Sat through the Very UNINFORMATIVE download, the only thing showing is the download progress bar (We cant get like what its downloading/installing, download or install progress rate? Download speed?)

    Once it was done, it just went back to the No Unity Version screen.
    I checked the ProgramFiles/Unity/Editor folder and theres only a few .dll files there, no folders

    Jeeez man! I needz to Code!!! I am having a massive panic attack!!
    :)
     
    Last edited: Dec 16, 2019
  7. mdrunk

    mdrunk

    Joined:
    Apr 26, 2014
    Posts:
    7
    same here. UH 2.2.1 trying install or uninstall any editor edition, noop.
     
  8. AskCarol

    AskCarol

    Unity Technologies

    Joined:
    Nov 12, 2019
    Posts:
    74
    Sorry that you're experiencing issues with Hub. Can you update to 2.2.2? This should resolve some of problems with anti-virus. Thanks!
     
    BartNT likes this.
  9. felix_utah

    felix_utah

    Joined:
    Jan 4, 2020
    Posts:
    1
    i have the same problem. using Unity Hub 2.2.2. Hub auto-installs 2018.4.14f1, but can not complete install of 2019.2.17f1. Hub downloads 2019, gets stuck on install for about 15 minutes, then deletes 2019. to get around this, i directly downloaded the 2019.2.17f1 EXE and installed it- everything went well. but now the Hub will not allow me to boot 2019- when i start 2019 directly, it opens Hub, and appears to be stuck on the install (even though 2019 was installed previously). i dont see a way to get past this point to open 2019.2.17f1.
    pc: Win 7 Ult, SP1. 64 bit os. 4ghz amd 8350. 16GB ram. 113 gb free hdd. default browser is firefox 71 64bit.
     
  10. AskCarol

    AskCarol

    Unity Technologies

    Joined:
    Nov 12, 2019
    Posts:
    74
    Sorry you're still experiencing issues with Hub. In order for us to understand what's happening, can you please send your log report? You can find them at the following:
    • Windows: `%UserProfile%\AppData\Roaming\UnityHub\logs`
     
  11. shippage

    shippage

    Joined:
    May 15, 2013
    Posts:
    1
    Same issue on 2.2.2 for me. It's driving me crazy, and now I'm unable to use Unity Editor at all. Haven't found any workaround yet. I'm not using any anti-virus except for the default windows defender. On linux it works fine for me, but my project with ECS crashes the editor every few minutes (separate issue for a different thread though).
     
  12. AskCarol

    AskCarol

    Unity Technologies

    Joined:
    Nov 12, 2019
    Posts:
    74
    Where are you experiencing your issue regarding Hub or the Editor? Are you having trouble installing it or getting it to open?

    And yes, please open a new thread if it's a separate case from the one described by OP.
     
  13. wechat_os_Qy03KITI8iuRrTnI6o19s5MBY

    wechat_os_Qy03KITI8iuRrTnI6o19s5MBY

    Joined:
    May 7, 2019
    Posts:
    2
    Øh ,god ,I have the same error。my unity hub Can't install unity ,What should I do to successfully install 2019 ?
     
  14. wechat_os_Qy03KITI8iuRrTnI6o19s5MBY

    wechat_os_Qy03KITI8iuRrTnI6o19s5MBY

    Joined:
    May 7, 2019
    Posts:
    2
unityunity