Search Unity

Which (temp?) folder Unity Hub downloads the install files on Mac?

Discussion in 'Unity Hub' started by DeepShader, Aug 3, 2018.

  1. DeepShader

    DeepShader

    Joined:
    May 29, 2009
    Posts:
    613
    Hi there,
    in which (temp?) folder Unity Hub downloads the install files on Mac?

    Thank you :)
     
  2. afshinity

    afshinity

    Unity Technologies

    Joined:
    Jul 31, 2017
    Posts:
    261
    I believe it varies from machine to machine, and the hub will remove it afterward.
     
  3. DeepShader

    DeepShader

    Joined:
    May 29, 2009
    Posts:
    613
    Ok, my connection broke down while the Hub downloaded and I just want to check the folder, if there's some junk from the broken download ^_^'
     
  4. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    449
    Dear Unity, this temp download directory is a bit nightmare. Just finished download xGB and the same my connection went down during the process. But Unity Hub simple told me all is corrupted redownload again. CAN WE HAVE DOWNLOAD DIRECTORY OPTION as I asked several times in other threads? First it is useful for network setups where company downloads just once and distribute to the team over internal network. Second whatever we download via Unity Hub we have in our hands and unity does not need to delete temp downloaded things.

    PLEASE PLEASE PLEASE. CUSTOM DOWNLOAD DIRECTORY WHERE YOU MAKE DIRECTORY STRUCTURE THE SAME AS YOU HAVE IT FOR CUSTOM INSTALLATION DIRECTORY ACCORDING TO UNITY VERSION.

    PLEASE PLEASE PLEASE. WHY WE HAVE TO ASK FOR OBVIOUS AND SIMPLE THINGS SO HARD AND GET THEM IN SO LONG?

    Marek.
     
  5. DeepShader

    DeepShader

    Joined:
    May 29, 2009
    Posts:
    613
  6. cassandraL

    cassandraL

    Unity Technologies

    Joined:
    Dec 7, 2017
    Posts:
    60
    Hello,
    you can find the current tmp dir, by going in your terminal and writing the following command:
    open $TMPDIR

    The folder changes from computer to computer, but looks something like:
    /private/var/folders/mm/{very-long-gibberish}/T/


    When the Hub downloads a file, it will create a folder in the temp folder, named:
    /unityhub-{another-long-gibberish}/
     
  7. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    449
    Yes that is nice but can we have custom download path in option for example /Volumes/MyDisk/UnityDownloads

    And in there UnityHub creates for example /Volumes/MyDisk/UnityDownload/2018.2.1f or 2018.2.2f1 the same way as you do with installed ones???

    That way we don't loose the downloads every time we download new version and therefore we can put this custom download path to our company NAS and people can install it from there.

    Is it really so hard to allow us custom download path and create respective unity version directories????

    Thank you for understanding, Marek.
     
  8. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    449
    This temp folder is really black box nightmare. And personally it is slowing us down substantially which goes against why UnityHub was created.
     
  9. Foriero

    Foriero

    Joined:
    Jan 24, 2012
    Posts:
    449
    Sorry to say it so bluntly :

    BUT I DON'T WANT UNITYHUB IS DELETING GIGABYTES OF DOWNLOADED DATA

    DOES IT MAKE SENSE? SINCE FOR ME IT DOES NOT MAKE SENSE THAT YOU DELETE DOWNLOADED GIGABYTES. YOU SIMPLY WASTE OUR INTERNET BANDWIDTH ESPECIALLY WHEN UNITYHUB IS SO UNRELIABLE IN REDOWNLOADING VERSION THAT ONCE HAS BEEN DOWNLOADED.
     
  10. afshinity

    afshinity

    Unity Technologies

    Joined:
    Jul 31, 2017
    Posts:
    261
    @Foriero

    Separating the download and install phases is in our plan. That said, we are going to give the control to the user to choose the download location and keep it if he/she wants.

    I agree the current behavior of the hub is not desirable and we are working on that.

    Sorry for the inconvenience.
     
    Prodigga likes this.
  11. DeepShader

    DeepShader

    Joined:
    May 29, 2009
    Posts:
    613
    Yes.. that works.. is it correct that the folder is filled with the last downloads after install?
     
  12. cassandraL

    cassandraL

    Unity Technologies

    Joined:
    Dec 7, 2017
    Posts:
    60
    @DeepShader If all goes well, that TMP folder containing the downloads gets deleted.
     
  13. AsmaaQ

    AsmaaQ

    Joined:
    Nov 2, 2018
    Posts:
    1
  14. alexejheroytb

    alexejheroytb

    Joined:
    May 20, 2018
    Posts:
    1