Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Cannot install Unity with Unity Hub 2.0.2 on Mac

Discussion in 'Unity Hub' started by ynaoto, Jun 24, 2019.

  1. ynaoto

    ynaoto

    Joined:
    Mar 26, 2016
    Posts:
    21
    I tried to install Unity 2019.1.8f1 with Unity Hub 2.0.2 on my mac. It seems that download is succeeded but install failed. The last part of Library/Application Support/UnityHub/logs/info-log.json is below:


    {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Downloader 2019.1.8f1: starting' ]","timestamp":"2019-06-24T10:16:24.545Z"}

    {"moduleName":"DownloadsCluster","level":"info","message":"[ 'Cluster total download size: 3.94GB' ]","timestamp":"2019-06-24T10:16:25.417Z"}

    {"moduleName":"DownloadsCluster","level":"info","message":"[ 'Cluster cluster-2019.1.8f1: downloads starting' ]","timestamp":"2019-06-24T10:16:25.418Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://download.unity3d.com/download_unity/7938dd008a75/MacEditorTargetInstaller/UnitySetup-Android-Support-for-Editor-2019.1.8f1.pkg to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/UnitySetup-Android-Support-for-Editor-2019.1.8f1.pkg' ]","timestamp":"2019-06-24T10:16:25.418Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://download.unity3d.com/download_unity/7938dd008a75/MacEditorTargetInstaller/UnitySetup-iOS-Support-for-Editor-2019.1.8f1.pkg to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/UnitySetup-iOS-Support-for-Editor-2019.1.8f1.pkg' ]","timestamp":"2019-06-24T10:16:25.419Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://download.unity3d.com/download_unity/7938dd008a75/MacEditorTargetInstaller/UnitySetup-Mac-IL2CPP-Support-for-Editor-2019.1.8f1.pkg to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/UnitySetup-Mac-IL2CPP-Support-for-Editor-2019.1.8f1.pkg' ]","timestamp":"2019-06-24T10:16:25.419Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://dl.google.com/android/repository/sdk-tools-darwin-4333796.zip to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/sdk-tools-darwin-4333796.zip' ]","timestamp":"2019-06-24T10:16:25.419Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://dl.google.com/android/repository/platform-tools_r28.0.1-darwin.zip to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/platform-tools_r28.0.1-darwin.zip' ]","timestamp":"2019-06-24T10:16:25.421Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://dl.google.com/android/repository/build-tools_r28.0.3-macosx.zip to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/build-tools_r28.0.3-macosx.zip' ]","timestamp":"2019-06-24T10:16:25.421Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://dl.google.com/android/repository/platform-28_r06.zip to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/platform-28_r06.zip' ]","timestamp":"2019-06-24T10:16:25.421Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://dl.google.com/android/repository/android-ndk-r16b-darwin-x86_64.zip to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/android-ndk-r16b-darwin-x86_64.zip' ]","timestamp":"2019-06-24T10:16:25.422Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://storage.googleapis.com/docscloudstorage/2019.1/UnityDocumentation.zip to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/UnityDocumentation.zip' ]","timestamp":"2019-06-24T10:16:25.422Z"}

    {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Download 2019.1.8f1: downloads starting, total size: 4.93GB)' ]","timestamp":"2019-06-24T10:16:25.580Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/platform-tools_r28.0.1-darwin.zip' ]","timestamp":"2019-06-24T10:17:15.244Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://go.microsoft.com/fwlink/?linkid=857641 to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/monoframework-mdk-5.16.0.221.macos10.xamarin.universal.pkg' ]","timestamp":"2019-06-24T10:17:15.245Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/UnityDocumentation.zip' ]","timestamp":"2019-06-24T10:19:14.346Z"}

    {"moduleName":"DownloadRequest","level":"info","message":"[ 'Starting the download of https://download.unity3d.com/download_unity/7938dd008a75/MacEditorInstaller/Unity-2019.1.8f1.pkg to /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/Unity-2019.1.8f1.pkg' ]","timestamp":"2019-06-24T10:19:14.346Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/monoframework-mdk-5.16.0.221.macos10.xamarin.universal.pkg' ]","timestamp":"2019-06-24T10:21:00.152Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/UnitySetup-Mac-IL2CPP-Support-for-Editor-2019.1.8f1.pkg' ]","timestamp":"2019-06-24T10:21:01.275Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/build-tools_r28.0.3-macosx.zip' ]","timestamp":"2019-06-24T10:22:22.059Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/platform-28_r06.zip' ]","timestamp":"2019-06-24T10:23:58.885Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/sdk-tools-darwin-4333796.zip' ]","timestamp":"2019-06-24T10:26:07.336Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/UnitySetup-Android-Support-for-Editor-2019.1.8f1.pkg' ]","timestamp":"2019-06-24T10:27:15.535Z"}

    {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Downloader 2019.1.8f1: end event for editor' ]","timestamp":"2019-06-24T10:30:11.546Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/Unity-2019.1.8f1.pkg' ]","timestamp":"2019-06-24T10:30:11.546Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/UnitySetup-iOS-Support-for-Editor-2019.1.8f1.pkg' ]","timestamp":"2019-06-24T10:31:13.044Z"}

    {"moduleName":"DownloadsCluster","level":"info","message":"[ 'Cluster cluster-2019.1.8f1: Finished' ]","timestamp":"2019-06-24T10:38:56.957Z"}

    {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Downloader 2019.1.8f1: end event for cluster' ]","timestamp":"2019-06-24T10:38:56.957Z"}

    {"moduleName":"EditorDownloader","level":"info","message":"[ 'Editor Download 2019.1.8f1: Finished' ]","timestamp":"2019-06-24T10:38:56.957Z"}

    {"moduleName":"DownloadManager","level":"info","message":"[ 'download ended with status: 3 /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/android-ndk-r16b-darwin-x86_64.zip' ]","timestamp":"2019-06-24T10:38:56.958Z"}

    {"moduleName":"Download","level":"info","message":"[ 'Editor download ended successfully. Download id: 2019.1.8f1' ]","timestamp":"2019-06-24T10:39:00.190Z"}

    {"moduleName":"Installer","level":"info","message":"[ 'Install 2019.1.8f1: /var/folders/hy/hyccdg6d72n2vk6p4wh87v3w0000gn/T/unityhub-1dd19e00-9669-11e9-b9c2-d5f65bdfd232/Unity-2019.1.8f1.pkg to /Applications/Unity/Hub/Editor/2019.1.8f1 started' ]","timestamp":"2019-06-24T10:39:00.191Z"}

    {"moduleName":"UnityInstallerMac","level":"warn","message":"[ ' Error while installing the Editor',\n { error: \n { code: 'MISSING_DESTINATION',\n message: 'The install destination was invalid or missing.' } } ]","timestamp":"2019-06-24T10:39:00.196Z"}
     
  2. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    579
    Same issue here. I want to add new Unity and Unity Hub just doing nothing. I mean the download does not start.
     
  3. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    579
    {"moduleName":"EditorManager","level":"error","message":"[ 'Could not calculate required size on disk for download because of',\n 'Path not specified. Cannot verify disk usage.' ]","timestamp":"2019-06-24T13:15:23.390Z"}

    {"moduleName":"EditorManager","level":"error","message":"[ 'editor download/install cancelled because of',\n TypeError: Cannot convert undefined or null to object\n at Function.keys (<anonymous>)\n at getRequiredSizesPerDisk.then (/Applications/Unity Hub.app/Contents/Resources/app.asar/src/services/editorManager/editorManager.js:484:35)\n at <anonymous> ]","timestamp":"2019-06-24T13:15:23.391Z"}
     
  4. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    579
    Ok found it. Please when you select path where to install unity you accidentally add \n at the end and then the installation fails.
     
  5. ynaoto

    ynaoto

    Joined:
    Mar 26, 2016
    Posts:
    21
    Thanks for your reply Foriero. i did not touch anything for "select path", however.
     
  6. safaGH

    safaGH

    Unity Technologies

    Joined:
    Mar 12, 2019
    Posts:
    224
    @ynaoto
    Hello, From the logs I can tell that the problem comes from the installation path you chose. Can you please go to the general preferences and set a new installation path and click on "save" and then try again the unity install ?
     
  7. ynaoto

    ynaoto

    Joined:
    Mar 26, 2016
    Posts:
    21
    Hi safaGH,
    I tried to set a new installation path, but it did not saved.
    スクリーンショット 2019-06-26 2.13.12.png
    Back from Preferences and comes again, then:
    スクリーンショット 2019-06-26 2.13.27.png
    Strange...
     
  8. safaGH

    safaGH

    Unity Technologies

    Joined:
    Mar 12, 2019
    Posts:
    224
    Do not choose the hub directory as a path for installing editors, try something else... You should receive an error when you set the hub path as an installation path.
     
  9. ynaoto

    ynaoto

    Joined:
    Mar 26, 2016
    Posts:
    21
    > You should receive an error when you set the hub path as an installation path.
    It does not make sense for me because it used be working in recent versions of Unity Hub without setting installation path...

    Anyway, set the path to ~/Unity/Editor solved the problem on my mac. On windows, it worked without any setting changes.

    Thanks for your help!
     
  10. HadrienS

    HadrienS

    Joined:
    Jun 20, 2012
    Posts:
    1
    Hey,

    I have the same problem and no solution seems to work for me.
    Even after changing the path (To a path exterior to the hub) and reinstalling unity hub.

    EDIT : After switching to a stable wifi connection it worked well. It seems that the unity hub don't really work with saturated wifi connection
     
    Last edited: Dec 17, 2019
  11. EvilOmega

    EvilOmega

    Joined:
    Dec 6, 2019
    Posts:
    1
    I have the same problem; however, after changing the destination folder to a couple different options (~/Unity/Editor and /Applications/Unity/Editor), it's still not installing correctly. The tail on the log is:

    {"moduleName":"Installer","level":"info","message":"[ 'Install 2019.4.2f1: /var/folders/fn/pz67pzqs4rz3mvh8m50dx30r0000gq/T/unityhub-d4d0c241-bc09-11ea-8796-218f769a3bb5/Unity-2019.4.2f1.pkg to /Applications/Unity/Editor/2019.4.2f1 started' ]","timestamp":"2020-07-02T02:17:04.549Z"}
    {"moduleName":"UnityInstallerMac","level":"warn","message":"[ ' Error while installing the Editor',\n { error:\n { code: 'MISSING_DESTINATION',\n message: 'The install destination was invalid or missing.' } } ]","timestamp":"2020-07-02T02:17:04.557Z"}
    {"moduleName":"ApplicationRouteHelper","level":"info","message":"[ 'hadOnboarding is false' ]","timestamp":"2020-07-02T02:17:30.139Z"}

    Wifi is not a problem. Please note that the user I am using to install is not an admin, but rather a standard user. Is that a potential issue?
     
    Last edited: Jul 2, 2020