[macOS Mojave] Unity hub doesn't open.

I have recently installed unity and unity hub. Upon opening Unity, Unity launches Unity Hub which starts and then immediately crashes – this is an incredibly frustrating experience.

I have copied the contents of /Users/teymouraldridge/Library/Application support/UnityHub/logs/info-log.json below.

I would be very grateful for any help in resolving this issue.

{"moduleName":"App","level":"info","message":"[ 'Checking arguments for Windows custom URI scheme' ]","timestamp":"2019-11-07T07:08:52.265Z"}
{"moduleName":"App","level":"info","message":"[ 'No custom URI argument found' ]","timestamp":"2019-11-07T07:08:52.266Z"}
{"moduleName":"SystemInfo","level":"info","message":"[ 'Hub version: 2.1.3' ]","timestamp":"2019-11-07T07:08:52.363Z"}
{"moduleName":"SystemInfo","level":"info","message":"[ 'Hub path: /Applications/Unity Hub.app/Contents/MacOS/Unity Hub' ]","timestamp":"2019-11-07T07:08:52.363Z"}
{"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: '/Library/Application Support/Unity/config' } ]","timestamp":"2019-11-07T07:08:52.402Z"}
{"moduleName":"CloudConfig","level":"info","message":"[ 'Cloud Config endpoint: https://public-cdn.cloud.unity3d.com/config/production' ]","timestamp":"2019-11-07T07:08:52.402Z"}
{"moduleName":"LocalConfig","level":"info","message":"[ 'Local Config endpoint: https://public-cdn.cloud.unity3d.com/hub/prod/hubConfig.json' ]","timestamp":"2019-11-07T07:08:52.502Z"}
{"moduleName":"LocalConfig","level":"warn","message":"[ Error: Invalid data\n      at /Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/electron-json-storage/lib/storage.js:89:25\n      at nextTask (/Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:5324:14)\n      at next (/Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:5331:9)\n      at /Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:969:16\n      at /Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/electron-json-storage/lib/storage.js:74:18\n      at tryToString (fs.js:513:3)\n      at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:501:12) ]","timestamp":"2019-11-07T07:08:52.509Z"}
{"moduleName":"AutoUpdater","level":"info","message":"[ 'Init' ]","timestamp":"2019-11-07T07:08:52.512Z"}
{"moduleName":"AutoUpdater","level":"info","message":"[ 'Look for Hub updates from app-update.yml -> url' ]","timestamp":"2019-11-07T07:08:52.512Z"}
{"moduleName":"AutoUpdater","level":"info","message":"[ 'Checking for hub updates' ]","timestamp":"2019-11-07T07:08:52.513Z"}
{"moduleName":"TokenManager","level":"info","message":"[ 'Init' ]","timestamp":"2019-11-07T07:08:52.606Z"}
{"moduleName":"AutoUpdater:EventHandler","level":"info","message":"[ 'Checking for update' ]","timestamp":"2019-11-07T07:08:52.609Z"}
{"moduleName":"TokenManager","level":"info","message":"[ 'Done init' ]","timestamp":"2019-11-07T07:08:52.679Z"}
{"moduleName":"Download","level":"info","message":"[ 'Init' ]","timestamp":"2019-11-07T07:08:52.679Z"}
{"moduleName":"EditorManager","level":"info","message":"[ 'Init' ]","timestamp":"2019-11-07T07:08:52.706Z"}
{"moduleName":"Releases","level":"info","message":"[ 'Releases endpoint: https://public-cdn.cloud.unity3d.com/hub/prod/releases-darwin.json' ]","timestamp":"2019-11-07T07:08:52.707Z"}
{"moduleName":"EditorList","level":"info","message":"[ 'init' ]","timestamp":"2019-11-07T07:08:52.711Z"}
{"moduleName":"SystemInfo","level":"info","message":"[ 'MacBook Pro Intel Core i7 2.7 GHz 16 GB ; Mac OS X 10.14.6 18G84 Darwin 18.7.0' ]","timestamp":"2019-11-07T07:08:52.713Z"}
{"moduleName":"customInstallLocation","level":"warn","message":"[ 'Custom install path could not be retrieved: ',\n  Error: Invalid data\n      at /Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/electron-json-storage/lib/storage.js:89:25\n      at nextTask (/Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:5324:14)\n      at next (/Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:5331:9)\n      at /Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/async/dist/async.js:969:16\n      at /Applications/Unity Hub.app/Contents/Resources/app.asar/node_modules/electron-json-storage/lib/storage.js:74:18\n      at tryToString (fs.js:513:3)\n      at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:501:12) ]","timestamp":"2019-11-07T07:08:52.744Z"}
{"moduleName":"customInstallLocation","level":"info","message":"[ 'Custom install path not present.' ]","timestamp":"2019-11-07T07:08:52.744Z"}
{"moduleName":"EditorFolderScanner","level":"info","message":"[ '0 out of 0 valid paths found in path: /Applications/Unity/Hub/Editor' ]","timestamp":"2019-11-07T07:08:52.746Z"}
{"moduleName":"customInstallLocation","level":"info","message":"[ 'Cannot scan custom location (no path set).' ]","timestamp":"2019-11-07T07:08:52.746Z"}

Hello @teymour-aldridge ,
Your logs are saying that the hub couldn’t find the custom location in which you installed the unity editor. I advise you to try opening the hub application on its own first, then go to the installs tab and install the unity editor you need (You can locate the one you already installed as well, but to avoid experiencing the same issue, it’s better to install a new one). then create a project through the hub with the editor you installed. The problem may be because of the location in which you installed Unity (external disk, inaccessible folder… ). Don’t hesitate to come back to us if it didn’t work.

I have only installed unity hub. When I try to open it it crashes.

I have the same problem but when i open unity from Editors it says The application was unable to start correctly (0xc000007b).