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"}