Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Download Was Cancelled

Discussion in 'Unity Hub' started by zenasprime, Jul 16, 2018.

  1. zenasprime

    zenasprime

    Joined:
    Mar 31, 2010
    Posts:
    165
    If I try to download a version of Unity I get this message:

    Screen Shot 2018-07-16 at 8.34.51 AM.png

    Why was the download cancelled?
     
  2. afshinity

    afshinity

    Unity Technologies

    Joined:
    Jul 31, 2017
    Posts:
    334
    Hi there,

    Sorry for the inconvenience.
    I am wondering if you set a custom path for editor installation from here:
    upload_2018-7-16_13-13-24.png

    If yes, does your path has a whitespace? I am asking since there is a bug in mac that hub is not supporting whitespaces in the path (fix will be shipped in the next release)

    If it is not the case, would you please send me your log files through a direct message?
    you can find hub logs here: ~/Library/Application support/UnityHub/logs

    Thanks,
    Afshin
     
    icelanguage likes this.
  3. zenasprime

    zenasprime

    Joined:
    Mar 31, 2010
    Posts:
    165
    Yep. Works now that I've removed all the spaces. Thanks & good luck! :)
     
  4. TeachCS

    TeachCS

    Joined:
    Aug 13, 2017
    Posts:
    1
    I am using windows 7 64 bit and having exactly same problem. I have set the path as C:\Unity\editors
    still not working. It keep saying "The download of version 2018.3.0f2 was cancelled.
    Would you please advise me how to resolve this problem.
    Thanks
     
    Last edited: Jan 2, 2019
  5. MechEthan

    MechEthan

    Joined:
    Mar 23, 2016
    Posts:
    166
    While you wait for a more useful reply, you can check your logs for anything obvious:
    Windows: %UserProfile%\AppData\Roaming\UnityHub\logs
    Mac: ~/Library/Application support/UnityHub/logs

    @afshinity You guys really need an "Open Logs Folder" button under the settings gear. People can't self diagnose if they don't know logs exist, or where to find them.
     
    afshinity likes this.
  6. micsanbr

    micsanbr

    Joined:
    Apr 8, 2014
    Posts:
    20
    The issue in my case were quotes in the installation path.
    "C:\Program Files\Unity\Hub" --> not working
    C:\Program Files\Unity\Hub --> working
    This is, if not a bug, at least a bit sloppy and might be fixed quickly.
    On top of this, the Hub does not work behind a proxy and does not use the UNITY_PROXYSERVER environment variable.
    @afshinity please please fix this :)
     
  7. micsanbr

    micsanbr

    Joined:
    Apr 8, 2014
    Posts:
    20
    Another thing: components can be added to an install, but cannot removed? o_O
     
  8. wechat_og5za0jMpgp6kPiJB7RwC7eKZtdU

    wechat_og5za0jMpgp6kPiJB7RwC7eKZtdU

    Joined:
    Jan 11, 2018
    Posts:
    2
    I have the same problem. not the whitespace problem. i am sure there has no any whitespace. 捕获.PNG 捕获2.PNG
     
  9. watsonsong

    watsonsong

    Joined:
    May 13, 2015
    Posts:
    555
    I met the same problem without touch the custom editor folder location.
    I can not download the 2019.1.2f1, it always report:
    `The download of version 2019.1.2f1 was canceled`

    The log is:
    Code (CSharp):
    1. {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://dl.google.com/android/repository/sdk-tools-windows-4333796.zip to C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\sdk-tools-windows-4333796.zip' ]","timestamp":"2019-05-13T09:11:26.355Z"}
    2. {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://dl.google.com/android/repository/platform-tools_r28.0.1-windows.zip to C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\platform-tools_r28.0.1-windows.zip' ]","timestamp":"2019-05-13T09:11:26.355Z"}
    3. {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://dl.google.com/android/repository/build-tools_r28.0.3-windows.zip to C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\build-tools_r28.0.3-windows.zip' ]","timestamp":"2019-05-13T09:11:26.356Z"}
    4. {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://dl.google.com/android/repository/platform-28_r06.zip to C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\platform-28_r06.zip' ]","timestamp":"2019-05-13T09:11:26.356Z"}
    5. {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://dl.google.com/android/repository/android-ndk-r16b-windows-x86_64.zip to C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\android-ndk-r16b-windows-x86_64.zip' ]","timestamp":"2019-05-13T09:11:26.356Z"}
    6. {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://storage.googleapis.com/docscloudstorage/2019.1/UnityDocumentation.zip to C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\UnityDocumentation.zip' ]","timestamp":"2019-05-13T09:11:26.356Z"}
    7. {"moduleName":"EditorDownloader","level":"warn","message":"[ 'Editor Download 2019.1.2f1: Start Error: Received invalid status code: 424' ]","timestamp":"2019-05-13T09:11:27.913Z"}
    8. {"moduleName":"Download","level":"warn","message":"[ 'Something went wrong with downloadUnityEditor',\n  Error: Received invalid status code: 424\n      at Request._callback (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\remote-file-size\\index.js:21:17)\n      at Request.self.callback (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:185:22)\n      at emitTwo (events.js:125:13)\n      at Request.emit (events.js:213:7)\n      at Request.<anonymous> (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1157:10)\n      at emitOne (events.js:115:13)\n      at Request.emit (events.js:210:7)\n      at IncomingMessage.<anonymous> (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1079:12)\n      at Object.onceWrapper (events.js:314:30)\n      at emitNone (events.js:110:20)\n      at IncomingMessage.emit (events.js:207:7)\n      at endReadableNT (_stream_readable.js:1045:12)\n      at _combinedTickCallback (internal/process/next_tick.js:138:11)\n      at process._tickDomainCallback (internal/process/next_tick.js:218:9) ]","timestamp":"2019-05-13T09:11:27.914Z"}
    9. {"moduleName":"EditorManager","level":"error","message":"[ 'editor download/install cancelled because of',\n  Error: Received invalid status code: 424\n      at Request._callback (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\remote-file-size\\index.js:21:17)\n      at Request.self.callback (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:185:22)\n      at emitTwo (events.js:125:13)\n      at Request.emit (events.js:213:7)\n      at Request.<anonymous> (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1157:10)\n      at emitOne (events.js:115:13)\n      at Request.emit (events.js:210:7)\n      at IncomingMessage.<anonymous> (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1079:12)\n      at Object.onceWrapper (events.js:314:30)\n      at emitNone (events.js:110:20)\n      at IncomingMessage.emit (events.js:207:7)\n      at endReadableNT (_stream_readable.js:1045:12)\n      at _combinedTickCallback (internal/process/next_tick.js:138:11)\n      at process._tickDomainCallback (internal/process/next_tick.js:218:9) ]","timestamp":"2019-05-13T09:11:27.914Z"}
    10. {"moduleName":"DownloadsCluster","level":"info","message":"[ 'Download Cluster cluster-2019.1.2f1: Canceled' ]","timestamp":"2019-05-13T09:11:27.920Z"}
    11. {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Download 2019.1.2f1: Canceled' ]","timestamp":"2019-05-13T09:11:27.920Z"}
    12. {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\sdk-tools-windows-4333796.zip' ]","timestamp":"2019-05-13T09:11:27.921Z"}
    13. {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\platform-tools_r28.0.1-windows.zip' ]","timestamp":"2019-05-13T09:11:27.921Z"}
    14. {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\build-tools_r28.0.3-windows.zip' ]","timestamp":"2019-05-13T09:11:27.921Z"}
    15. {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\platform-28_r06.zip' ]","timestamp":"2019-05-13T09:11:27.921Z"}
    16. {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\android-ndk-r16b-windows-x86_64.zip' ]","timestamp":"2019-05-13T09:11:27.921Z"}
    17. {"moduleName":"DownloadsCluster","level":"info","message":"[ 'Cluster cluster-2019.1.2f1: Finished' ]","timestamp":"2019-05-13T09:11:27.921Z"}
    18. {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Downloader 2019.1.2f1: end event for cluster' ]","timestamp":"2019-05-13T09:11:27.921Z"}
    19. {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 C:\\\\Users\\\\admin\\\\AppData\\\\Local\\\\Temp\\\\unityhub-14ebc751-755f-11e9-a407-41498e27e507\\\\UnityDocumentation.zip' ]","timestamp":"2019-05-13T09:11:27.921Z"}
     
  10. MagicLin

    MagicLin

    Joined:
    Jul 13, 2018
    Posts:
    2
    I met the same problem without touch the custom editor folder location.
    I can not download the 2019.1.2f1, it always report:
    `The download of version 2019.1.2f1 was canceled`

    The log is:
    Code (CSharp):
    1. {"moduleName":"UnityIPCServer","level":"info","message":"[ 'client process has connected to Unity-hubInstallServer!' ]","timestamp":"2019-05-13T12:31:20.273Z"}
    2. {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Downloader 2019.1.2f1: starting' ]","timestamp":"2019-05-13T12:31:20.275Z"}
    3. {"moduleName":"DownloadsCluster","level":"info","message":"[ 'Cluster is empty, nothing to start' ]","timestamp":"2019-05-13T12:31:20.276Z"}
    4. {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Downloader 2019.1.2f1: end event for cluster' ]","timestamp":"2019-05-13T12:31:20.276Z"}
    5. {"moduleName":"installServiceBootstrap","level":"info","message":"[ 'start install sub process' ]","timestamp":"2019-05-13T12:31:20.252Z"}
    6. {"moduleName":"InstallerWinProcess","level":"info","message":"[ 'trying to connect to the ipc server' ]","timestamp":"2019-05-13T12:31:20.271Z"}
    7. {"moduleName":"EditorDownloader","level":"warn","message":"[ 'Editor Download 2019.1.2f1: Start Error: Received invalid status code: 424' ]","timestamp":"2019-05-13T12:31:22.031Z"}
    8. {"moduleName":"Download","level":"warn","message":"[ 'Something went wrong with downloadUnityEditor',\n  Error: Received invalid status code: 424\n      at Request._callback (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\index.js:21:17)\n      at Request.self.callback (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:185:22)\n      at emitTwo (events.js:125:13)\n      at Request.emit (events.js:213:7)\n      at Request.<anonymous> (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1157:10)\n      at emitOne (events.js:115:13)\n      at Request.emit (events.js:210:7)\n      at IncomingMessage.<anonymous> (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1079:12)\n      at Object.onceWrapper (events.js:314:30)\n      at emitNone (events.js:110:20)\n      at IncomingMessage.emit (events.js:207:7)\n      at endReadableNT (_stream_readable.js:1045:12)\n      at _combinedTickCallback (internal/process/next_tick.js:138:11)\n      at process._tickCallback (internal/process/next_tick.js:180:9) ]","timestamp":"2019-05-13T12:31:22.037Z"}
    9. {"moduleName":"EditorManager","level":"error","message":"[ 'editor download/install cancelled because of',\n  Error: Received invalid status code: 424\n      at Request._callback (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\index.js:21:17)\n      at Request.self.callback (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:185:22)\n      at emitTwo (events.js:125:13)\n      at Request.emit (events.js:213:7)\n      at Request.<anonymous> (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1157:10)\n      at emitOne (events.js:115:13)\n      at Request.emit (events.js:210:7)\n      at IncomingMessage.<anonymous> (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1079:12)\n      at Object.onceWrapper (events.js:314:30)\n      at emitNone (events.js:110:20)\n      at IncomingMessage.emit (events.js:207:7)\n      at endReadableNT (_stream_readable.js:1045:12)\n      at _combinedTickCallback (internal/process/next_tick.js:138:11)\n      at process._tickCallback (internal/process/next_tick.js:180:9) ]","timestamp":"2019-05-13T12:31:22.039Z"}
    10. {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Downloader 2019.1.2f1: starting' ]","timestamp":"2019-05-13T12:34:14.068Z"}
    11. {"moduleName":"DownloadsCluster","level":"info","message":"[ 'Cluster is empty, nothing to start' ]","timestamp":"2019-05-13T12:34:14.068Z"}
    12. {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Downloader 2019.1.2f1: end event for cluster' ]","timestamp":"2019-05-13T12:34:14.068Z"}
    13. {"moduleName":"EditorDownloader","level":"warn","message":"[ 'Editor Download 2019.1.2f1: Start Error: Received invalid status code: 424' ]","timestamp":"2019-05-13T12:34:15.711Z"}
    14. {"moduleName":"Download","level":"warn","message":"[ 'Something went wrong with downloadUnityEditor',\n  Error: Received invalid status code: 424\n      at Request._callback (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\index.js:21:17)\n      at Request.self.callback (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:185:22)\n      at emitTwo (events.js:125:13)\n      at Request.emit (events.js:213:7)\n      at Request.<anonymous> (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1157:10)\n      at emitOne (events.js:115:13)\n      at Request.emit (events.js:210:7)\n      at IncomingMessage.<anonymous> (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1079:12)\n      at Object.onceWrapper (events.js:314:30)\n      at emitNone (events.js:110:20)\n      at IncomingMessage.emit (events.js:207:7)\n      at endReadableNT (_stream_readable.js:1045:12)\n      at _combinedTickCallback (internal/process/next_tick.js:138:11)\n      at process._tickCallback (internal/process/next_tick.js:180:9) ]","timestamp":"2019-05-13T12:34:15.713Z"}
    15. {"moduleName":"EditorManager","level":"error","message":"[ 'editor download/install cancelled because of',\n  Error: Received invalid status code: 424\n      at Request._callback (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\index.js:21:17)\n      at Request.self.callback (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:185:22)\n      at emitTwo (events.js:125:13)\n      at Request.emit (events.js:213:7)\n      at Request.<anonymous> (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1157:10)\n      at emitOne (events.js:115:13)\n      at Request.emit (events.js:210:7)\n      at IncomingMessage.<anonymous> (D:\\UnityHub\\Unity Hub beta\\resources\\app.asar\\node_modules\\remote-file-size\\node_modules\\request\\request.js:1079:12)\n      at Object.onceWrapper (events.js:314:30)\n      at emitNone (events.js:110:20)\n      at IncomingMessage.emit (events.js:207:7)\n      at endReadableNT (_stream_readable.js:1045:12)\n      at _combinedTickCallback (internal/process/next_tick.js:138:11)\n      at process._tickCallback (internal/process/next_tick.js:180:9) ]","timestamp":"2019-05-13T12:34:15.714Z"}
    16.  
     
  11. wechat_og5za0jMpgp6kPiJB7RwC7eKZtdU

    wechat_og5za0jMpgp6kPiJB7RwC7eKZtdU

    Joined:
    Jan 11, 2018
    Posts:
    2
    okay,buddy. I fix that by update the unity hub 2.0.0
     
  12. MagicLin

    MagicLin

    Joined:
    Jul 13, 2018
    Posts:
    2
    Today, 2019.1.2f1 can download now!
     
  13. smeetmehta14

    smeetmehta14

    Joined:
    Mar 9, 2020
    Posts:
    1
    I am keeping 2019.3.4f1 on download for 4th time,but everytime after 15-20 mins the download sign vanishes and i have to download it again. what should i do
     
  14. Saif_Ansari

    Saif_Ansari

    Joined:
    Apr 10, 2020
    Posts:
    1

    Hey, it's quite late for a reply but I have been going through the same thing. It's quite frustrating. You just go to thengear icon(settings) on top and put the path there as C:/Program Files/Unity
    Thus ought to work as it worked for me. Also disable any antivirus programs or firewalls for the time being.