UnityHub doesn’t start. It hangs around in the running processes. Editor runs, but I’d like to have the hwole experience and use Unity Hub. Experienced users seem to comment that it is helpful and nice to work with.
The error in \AppData\Roaming\UnityHub\logs is as follows:
{
"level":"error",
"message":"Unhandled promise rejection, reason: Cannot read property 'includes' of undefined
stack TypeError: Cannot read property 'includes' of undefined
at formatValue (internal/util/inspect.js:549:16)
at formatProperty (internal/util/inspect.js:1289:11)
at buffer.js:670:19
at Array.reduce (<anonymous>)
at Uint8Array.inspect (buffer.js:667:51)
at formatValue (internal/util/inspect.js:535:31)
at inspect (internal/util/inspect.js:210:10)
at formatWithOptions (internal/util/inspect.js:1523:40)
at Object.format (internal/util/inspect.js:1400:10)
at Function.log (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\debug\\src\\node.js:135:43)",
"timestamp":"2020-07-11T18:10:53.769Z"
}
Additional info:
- I have managed to install Unity Editor using a stand alone installer
- I have 2 UnityHub folders in AppData\Romaing … one is “Unity Hub”, and the other is “UnityHub”.
- Error is logged to the one in UnityHub
- Just noticed that in the install folder (C:\Program Files\Unity Hub\resources) , I have app.asar.unpacked folder with node modules inside, but node_modules only has @unityhub and windows-shortcuts
- I used "asar extract app.asar test " and a lot of packaged got extracted. I moved them to app.asar but the error persists
- I’m following the npm package breadcrumbs and indeed seems to be a node packages issue. Not all had been extracted and I believe still some are missing. Like util where only util-deprecated is in the node_modules folder