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

Unity Hub 2.4.0 won't recognize manual installs..

Discussion in 'Unity Hub' started by Henoc, Sep 21, 2020.

  1. Henoc

    Henoc

    Joined:
    Aug 25, 2014
    Posts:
    7
    Hi, I've been trying to install unity without the hub (it has given me so many problems trying to install it with the hub) so I downloaded Unity via torrent:
    https://download.unity3d.com/downlo...5104.24427278.1600477781-409197588.1596420651

    So I installed unity to C:\Program Files\Unity\2019.4.10f1

    Then I proceeded like this:

    1. I clicked on the Installs menu part
    2. Clicked Locate
    3. Selected C:\Program Files\Unity\2019.4.10f1\Editor\Unity.exe

    Yet Unity Hub says "Installation Failed"

    upload_2020-9-20_23-8-21.png

    I cant create a project.

    What I've tried:

    1. I restarted my computer
    2. create a modules.json file on the root folder
    3. reinstalled the hub and unity again
    This is my info-log.json without the modules.json file

    Code (JavaScript):
    1. {"moduleName":"App","level":"info","message":"[ 'Checking arguments for Windows custom URI scheme' ]","timestamp":"2020-09-21T03:09:56.889Z"}
    2. {"moduleName":"App","level":"info","message":"[ 'No custom URI argument found' ]","timestamp":"2020-09-21T03:09:56.890Z"}
    3. {"moduleName":"SystemInfo","level":"info","message":"[ 'Hub version: 2.4.0' ]","timestamp":"2020-09-21T03:09:56.901Z"}
    4. {"moduleName":"SystemInfo","level":"info","message":"[ 'Hub path: C:\\\\Program Files\\\\Unity Hub\\\\Unity Hub.exe' ]","timestamp":"2020-09-21T03:09:56.901Z"}
    5. {"moduleName":"SystemInfo","level":"info","message":"[ 'Intel(R) Core(TM) i3-7100 CPU @ 3.90GHz; Windows 10 (10.0.0) 64bit' ]","timestamp":"2020-09-21T03:09:56.913Z"}
    6. {"moduleName":"HubSettings","level":"info","message":"[ { cloudEnvironment: 'production',\n    accessTokenIntervalPeriod: 5000,\n    servicesUrlInterval: 900000,\n    hubConfigInterval: 3600000,\n    releasesRefreshInterval: 3600000,\n    recentProjectInterval: 60000,\n    downloadClusterInterval: 1000,\n    downloadEditorInterval: 1000,\n    refreshTokenValidity: 2592000000,\n    checkForUpdateInterval: 43200000,\n    sendAnalyticsEventsInterval: 60000,\n    maxSizeForAnalyticsQueue: 500,\n    downloadRequestTimeout: 30000,\n    globalConfigFolder: 'C:\\\\ProgramData\\\\Unity\\\\config' } ]","timestamp":"2020-09-21T03:09:56.925Z"}
    7. {"moduleName":"CloudConfig","level":"info","message":"[ 'Cloud Config endpoint: https://public-cdn.cloud.unity3d.com/config/production' ]","timestamp":"2020-09-21T03:09:56.925Z"}
    8. {"moduleName":"SystemInfo","level":"info","message":"[ 'Hub process is running in User mode' ]","timestamp":"2020-09-21T03:09:56.976Z"}
    9. {"moduleName":"LocalConfig","level":"info","message":"[ 'Local Config endpoint: https://public-cdn.cloud.unity3d.com/hub/prod/hubConfig.json' ]","timestamp":"2020-09-21T03:09:57.578Z"}
    10. {"moduleName":"TokenManager","level":"info","message":"[ 'Init' ]","timestamp":"2020-09-21T03:09:57.592Z"}
    11. {"moduleName":"TokenManager","level":"info","message":"[ 'Done init' ]","timestamp":"2020-09-21T03:09:57.598Z"}
    12. {"moduleName":"Download","level":"info","message":"[ 'Init' ]","timestamp":"2020-09-21T03:09:57.599Z"}
    13. {"moduleName":"EditorManager","level":"info","message":"[ 'Init' ]","timestamp":"2020-09-21T03:09:57.603Z"}
    14. {"moduleName":"Releases","level":"info","message":"[ 'Releases endpoint: https://public-cdn.cloud.unity3d.com/hub/prod/releases-win32.json' ]","timestamp":"2020-09-21T03:09:57.604Z"}
    15. {"moduleName":"EditorList","level":"info","message":"[ 'init' ]","timestamp":"2020-09-21T03:09:57.618Z"}
    16. {"moduleName":"EditorFolderScanner","level":"info","message":"[ '0 out of 0 valid paths found in path: C:\\\\Program Files\\\\Unity\\\\Hub\\\\Editor' ]","timestamp":"2020-09-21T03:09:57.626Z"}
    17. {"moduleName":"EditorFolderScanner","level":"info","message":"[ '1 out of 1 valid paths found in path: C:\\\\Program Files\\\\Unity' ]","timestamp":"2020-09-21T03:09:57.629Z"}
    18. {"moduleName":"Installer:ReleaseFileIO","level":"info","message":"[ 'read C:\\\\Program Files\\\\Unity\\\\2019.4.10f1\\\\modules.json' ]","timestamp":"2020-09-21T03:09:57.630Z"}
    19. {"moduleName":"InstalledEditorLocation","level":"warn","message":"[ 'Failed to read from C:\\\\Program Files\\\\Unity\\\\2019.4.10f1\\\\modules.json, using fallback release info' ]","timestamp":"2020-09-21T03:09:57.631Z"}
    20. {"moduleName":"LocatedEditorStorage","level":"info","message":"[ '1 located Editors found in storage' ]","timestamp":"2020-09-21T03:09:57.636Z"}
    21. {"moduleName":"EditorApp","level":"info","message":"[ 'Init' ]","timestamp":"2020-09-21T03:09:57.644Z"}
    22. {"moduleName":"Auth","level":"info","message":"[ 'Init' ]","timestamp":"2020-09-21T03:09:57.645Z"}
    23. {"moduleName":"Auth","level":"info","message":"[ 'Both tokens are expired, user will be logged out' ]","timestamp":"2020-09-21T03:09:57.645Z"}
    24. {"moduleName":"Auth","level":"info","message":"[ 'Successfully logged out' ]","timestamp":"2020-09-21T03:09:57.648Z"}
    25. {"moduleName":"LicenseClient","level":"info","message":"[ 'Init' ]","timestamp":"2020-09-21T03:09:57.830Z"}
    26. {"moduleName":"LicenseFSM","level":"info","message":"[ 'uninitialized --> initializing' ]","timestamp":"2020-09-21T03:09:57.831Z"}
    27. {"moduleName":"LicenseClient","level":"info","message":"[ 'License initialized' ]","timestamp":"2020-09-21T03:09:57.888Z"}
    28. {"moduleName":"LicenseFSM","level":"info","message":"[ 'initializing --> licenseValid' ]","timestamp":"2020-09-21T03:09:57.889Z"}
    29. {"moduleName":"LicenseClient","level":"info","message":"[ 'New license verified' ]","timestamp":"2020-09-21T03:09:57.889Z"}
    30. {"moduleName":"learnContentService","level":"info","message":"[ 'Learn content endpoint: https://learn.unity.com/api/learn/hublist' ]","timestamp":"2020-09-21T03:09:57.889Z"}
    31. {"moduleName":"AutoUpdater","level":"info","message":"[ 'Init' ]","timestamp":"2020-09-21T03:09:57.890Z"}
    32. {"moduleName":"AutoUpdater","level":"warn","message":"[ 'Missing update server path' ]","timestamp":"2020-09-21T03:09:58.230Z"}
    33. {"moduleName":"AutoUpdater","level":"info","message":"[ 'Checking for hub updates' ]","timestamp":"2020-09-21T03:09:58.231Z"}
    34. {"moduleName":"AutoUpdater:EventHandler","level":"info","message":"[ 'Checking for update' ]","timestamp":"2020-09-21T03:09:58.233Z"}
    35.  
     

    Attached Files:

  2. Henoc

    Henoc

    Joined:
    Aug 25, 2014
    Posts:
    7
    Please let me know, I've been trying to install the LTS Version for like 3 days now (downloading via the hub is not an option, it always shows an error or gets interrupted )


    NOTE: After adding the modules.json file to the root of the folder, it still says "installation failed" and I can't do anything.
     
  3. dm_bond

    dm_bond

    Joined:
    Sep 19, 2011
    Posts:
    61
    Move to the directory above, not Unity but C:\Program Files\2019.4.10f1. Hopefully then Hub will not look for modules.json and will work as with the regular external version. As an option you can use the previous 2.3.2 version of the Hub.
     
  4. Augustinas-Simkus

    Augustinas-Simkus

    Unity Technologies

    Joined:
    Mar 9, 2020
    Posts:
    84
    Hi, could you check your Hub cache folder for a file called "downloadProgress%3A2019.4.10f1.json"? If you find it there, please delete it, restart Unity Hub and the Installs tab should display the correct information. On Windows, the cache folder is located in "C:\Users\USERNAME\AppData\Roaming\UnityHub\"
     
    Henoc likes this.
  5. Henoc

    Henoc

    Joined:
    Aug 25, 2014
    Posts:
    7
    Thanks, @augustinassimkus000, that worked, I hope you keep improving the hub, there's still so much to do there.