Search Issue Tracker

Fixed

Votes

4

Found in

Issue ID

1277540

Regression

Yes

[Hub] Installation failed error is thrown when adding an Editor version which previously failed to download

Hub

-

1. Open Unity Hub and go to the Installs tab
2. Click ADD and select any Unity version available there
3. Click NEXT and then DONE
4. Disconnect from the internet while the Editor is still downloading
5. Download and install the same Unity Editor versions as in step 2 from the Unity download archive
6. In the Installs tab click ADD and locate the Editor installed in step 5

Expected results: the Editor is added to the list of Unity installations
Actual results: Installation failed message is displayed and attempting to remove the Editor results in "Could not Delete Files" error

Reproducible with: 2.4.0
Not reproducible with: 2.3.2

Notes:
-An already existing installation can be used in the 5th step to reproduce the issue
-Restarting Unity Hub doesn't fix the issue and the "failed" installations remain. To fix the issue, deleting the Hub cache seems to be required
-Editors.json file points to the correct Editor location after reproducing the bug
-After reproducing the issue a "no folder path defined for {Unity version}" message is logger to the "info-log.json" file

Workaround (the file name changes depending on the version that's stuck in the "failed" state):
Windows: delete the "C:\Users\USERNAME\AppData\Roaming\UnityHub\downloadProgress%3A2018.4.27f1.json" file
Mac: delete the "~/Library/Application Support/UnityHub/downloadProgress%3A2018.4.27f1.json" file
Linux: delete the "~/.config/UnityHub/downloadProgress%3A2018.4.27f1.json" file

  1. Resolution Note:

    Fixed in Unity Hub 2.4.1

Comments (10)

  1. brandonparker6960

    Mar 14, 2021 22:39

    I have Unity on my Chromebook. I downloaded it using terminal. My Chromebook has a like about 13.1GB of storage. I'm trying to add an old version of Unity editor with Android build support and i get the message installation failed/there is not enough storage to download the selected items. So I'm having the same issue.

  2. blue760gtx

    Jan 24, 2021 07:24

    FIX :After the install fails from unity hub go to C:\Users\USERNAME\AppData\Local\Temp\ and run the installer from there directly .This is the only thing that worked for me .

  3. PierreStempinCorneille

    Sep 18, 2020 07:43

    Same painful issue here (with Unity Hub 2.4.0)

  4. kiecom1998

    Sep 15, 2020 16:58

    View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.

  5. kiecom1998

    Sep 15, 2020 16:58

    1. Open Unity Hub and go to the Installs tab
    2. Click ADD and select any Unity version available there
    3. Click NEXT and then DONE
    4. Disconnect from the internet while the Editor is still downloading
    5. Download and install the same Unity Editor versions as in step 2 from the Unity download archive
    6. In the Installs tab click ADD and locate the Editor installed in step 5

    Expected results: the Editor is added to the list of Unity installations
    Actual results: Installation failed message is displayed and attempting to remove the Editor results in "Could not Delete Files" error

    Reproducible with: 2.4.0
    Not reproducible with: 2.3.2

    Notes:
    -An already existing installation can be used in the 5th step to reproduce the issue
    -Restarting Unity Hub doesn't fix the issue and the "failed" installations remain. To fix the issue, deleting the Hub cache seems to be required
    -Editors.json file points to the correct Editor location after reproducing the bug
    -After reproducing the issue a "no folder path defined for {Unity version}" message is logger to the "info-log.json" file

    Workaround (the file name changes depending on the version that's stuck in the "failed" state):
    Windows: delete the "C:\Users\USERNAME\AppData\Roaming\UnityHub\downloadProgress%3A2018.4.27f1.json" file
    Mac: delete the "~/Library/Application Support/UnityHub/downloadProgress%3A2018.4.27f1.json" file
    Linux: delete the "~/.config/UnityHub/downloadProgress%3A2018.4.27f1.json" file

  6. kiecom1998

    Sep 15, 2020 16:56

    Workaround (the file name changes depending on the version that's stuck in the "failed" state):
    Windows: delete the "C:\Users\USERNAME\AppData\Roaming\UnityHub\downloadProgress%3A2018.4.27f1.json" file
    Mac: delete the "~/Library/Application Support/UnityHub/downloadProgress%3A2018.4.27f1.json" file
    Linux: delete the "~/.config/UnityHub/downloadProgress%3A2018.4.27f1.json" file

  7. kiecom1998

    Sep 15, 2020 16:55

    Support

    How can we assist you today?

    Learn more about Analytics here. Please feel free to also submit requests and feedback on the Unity Analytics forum and make sure to check out our FAQ.

    Your Name

    Your Email

    Subject

    subject is required

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.