Unity Hub 2.2.0 Doesn't Start (log inside)

I just installed a squeaky clean Windows 10 Pro x64 on a new laptop machine and was setting up my dev tools.

I have the same problem; in the log file, it says this for each launch:

{"level":"error","message":"Unhandled promise rejection, reason: The specified module could not be found.\r\n\\\\?\\C:\\Unity\\Hub\\Unity Hub\\resources\\app.asar.unpacked\\node_modules\\@unityhub\\unity-editor-license\\build\\Release\\license.node\n\tstack Error: The specified module could not be found.\r\n\\\\?\\C:\\Unity\\Hub\\Unity Hub\\resources\\app.asar.unpacked\\node_modules\\@unityhub\\unity-editor-license\\build\\Release\\license.node\n    at process.func [as dlopen] (electron/js2c/asar.js:138:31)\n    at Object.Module._extensions..node (internal/modules/cjs/loader.js:881:18)\n    at Object.func [as .node] (electron/js2c/asar.js:147:18)\n    at Module.load (internal/modules/cjs/loader.js:701:32)\n    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)\n    at Function.Module._load (internal/modules/cjs/loader.js:625:3)\n    at Module.require (internal/modules/cjs/loader.js:739:19)\n    at require (internal/modules/cjs/helpers.js:14:16)\n    at Object.<anonymous> (C:\\Unity\\Hub\\Unity Hub\\resources\\app.asar\\node_modules\\@unityhub\\unity-editor-license\\license.js:1:15)\n    at Module._compile (internal/modules/cjs/loader.js:839:30)","timestamp":"2019-11-28T17:32:16.545Z"}

Things I tried:

  • different network connections, including no network connection
  • different Locales (my default Locale is English (Germany), but I tried German (Germany) and English (United States)
  • running as admin
  • installing as admin
  • new download
  • changing install location
  • verify system clock is properly synced and time zone correct
  • reboots
  • Windows defender exclusion, and turning it all off
  • turning windows firewall on and off

The Hub seems to spawn 2 tasks and 1 Log Line as quoted above every time I launch it:

  • 1 Unity Hub task at ~30ish MiB of Memory
  • 1 Unity Hub task at ~10ish MiB of Memory

No discernible CPU activity for many minutes.

1 Like

There seems to be a considerable disparity between this install and the previous install on a similar laptop:

BAD install

chrome_100_percent.pak
chrome_200_percent.pak
d3dcompiler_47.dll*
ffmpeg.dll*
icudtl.dat
libEGL.dll*
libGLESv2.dll*
LICENSE.electron.txt
LICENSES.chromium.html
locales/
natives_blob.bin
resources/
resources.pak
snapshot_blob.bin
swiftshader/
Uninstall Unity Hub.exe*
Unity Hub.exe*
v8_context_snapshot.bin

OKAY install

api-ms-win-core-console-l1-1-0.dll*
api-ms-win-core-datetime-l1-1-0.dll*
api-ms-win-core-debug-l1-1-0.dll*
api-ms-win-core-errorhandling-l1-1-0.dll*
api-ms-win-core-file-l1-1-0.dll*
api-ms-win-core-file-l1-2-0.dll*
api-ms-win-core-file-l2-1-0.dll*
api-ms-win-core-handle-l1-1-0.dll*
api-ms-win-core-heap-l1-1-0.dll*
api-ms-win-core-interlocked-l1-1-0.dll*
api-ms-win-core-libraryloader-l1-1-0.dll*
api-ms-win-core-localization-l1-2-0.dll*
api-ms-win-core-memory-l1-1-0.dll*
api-ms-win-core-namedpipe-l1-1-0.dll*
api-ms-win-core-processenvironment-l1-1-0.dll*
api-ms-win-core-processthreads-l1-1-0.dll*
api-ms-win-core-processthreads-l1-1-1.dll*
api-ms-win-core-profile-l1-1-0.dll*
api-ms-win-core-rtlsupport-l1-1-0.dll*
api-ms-win-core-string-l1-1-0.dll*
api-ms-win-core-synch-l1-1-0.dll*
api-ms-win-core-synch-l1-2-0.dll*
api-ms-win-core-sysinfo-l1-1-0.dll*
api-ms-win-core-timezone-l1-1-0.dll*
api-ms-win-core-util-l1-1-0.dll*
api-ms-win-crt-conio-l1-1-0.dll*
api-ms-win-crt-convert-l1-1-0.dll*
api-ms-win-crt-environment-l1-1-0.dll*
api-ms-win-crt-filesystem-l1-1-0.dll*
api-ms-win-crt-heap-l1-1-0.dll*
api-ms-win-crt-locale-l1-1-0.dll*
api-ms-win-crt-math-l1-1-0.dll*
api-ms-win-crt-multibyte-l1-1-0.dll*
api-ms-win-crt-private-l1-1-0.dll*
api-ms-win-crt-process-l1-1-0.dll*
api-ms-win-crt-runtime-l1-1-0.dll*
api-ms-win-crt-stdio-l1-1-0.dll*
api-ms-win-crt-string-l1-1-0.dll*
api-ms-win-crt-time-l1-1-0.dll*
api-ms-win-crt-utility-l1-1-0.dll*
blink_image_resources_200_percent.pak
chrome_100_percent.pak
chrome_200_percent.pak
content_resources_200_percent.pak
content_shell.pak
d3dcompiler_47.dll*
ffmpeg.dll*
icudtl.dat
libEGL.dll*
libGLESv2.dll*
LICENSE.electron.txt
LICENSES.chromium.html
locales/
msvcp140.dll*
natives_blob.bin
node.dll*
pdf_viewer_resources.pak
resources/
resources.pak
snapshot_blob.bin
swiftshader/
ucrtbase.dll*
ui_resources_200_percent.pak
Uninstall Unity Hub.exe*
Unity Hub.exe*
v8_context_snapshot.bin
vcruntime140.dll*
views_resources_200_percent.pak

I am having the exact same issue as OP. In fact everything he has posted I was going to post, 2 tasks running, etc.
Also, I have two /UnityHub/ directories in /Roaming/. Only one of them has a log file in it.

{"level":"error","message":"Unhandled promise rejection, reason: The specified module could not be found.\r\n\\\\?\\C:\\Program Files\\Unity Hub\\resources\\app.asar.unpacked\\node_modules\\@unityhub\\unity-editor-license\\build\\Release\\license.node\n\tstack Error: The specified module could not be found.\r\n\\\\?\\C:\\Program Files\\Unity Hub\\resources\\app.asar.unpacked\\node_modules\\@unityhub\\unity-editor-license\\build\\Release\\license.node\n    at process.func [as dlopen] (electron/js2c/asar.js:138:31)\n    at Object.Module._extensions..node (internal/modules/cjs/loader.js:881:18)\n    at Object.func [as .node] (electron/js2c/asar.js:147:18)\n    at Module.load (internal/modules/cjs/loader.js:701:32)\n    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)\n    at Function.Module._load (internal/modules/cjs/loader.js:625:3)\n    at Module.require (internal/modules/cjs/loader.js:739:19)\n    at require (internal/modules/cjs/helpers.js:14:16)\n    at Object.<anonymous> (C:\\Program Files\\Unity Hub\\resources\\app.asar\\node_modules\\@unityhub\\unity-editor-license\\license.js:1:15)\n    at Module._compile (internal/modules/cjs/loader.js:839:30)","timestamp":"2019-11-29T02:55:48.294Z"}

I am also on a fresh install of Windows (I was getting the blank error Bug when creating any Scripts (even on new projects). My last resort was to reinstall Windows and hope for the best.

By copying another 2.2.0 install from another machine over the directory, I was able to get it to run, of course that can’t be the long term solution.

Hi,
Sorry for the inconvenience.
Would you please try to remove/backup the license file and try again?
C:\Program Data\Unity\license.ulf

Thanks,
Afshin

I have the same problem. I deleted Unity and license.ulf but it didn’t work.

I found a way.

[Microsoft Visual C++ 2015 Redistributable Update 3 RC]
https://www.microsoft.com/download/details.aspx?id=52685

1 Like

Had the same issue. This was the thing that worked for me. Thank you.

thanks, it work for me

No editor of Unity was installed on this machine, and I never got to the point to log into Unity Hub or activate any liccenses.

This is a brand new Windows 10 install.

Unity Hub 2.2.1 seems to install okay but I can’t verify this isn’t my previous fix (by manually copying the missing packages) still working for me.

This Fixed it for me, the newest version of Hub is missing these.

Thank you.
solve.

This didn’t fix it for me, unfortunately. Have the exact same issue of the Hub spawning 2 tasks and 1 Log Line as quoted above:

  • 1 Unity Hub task at ~30ish MiB of Memory
  • 1 Unity Hub task at ~10ish MiB of Memory

Using Unity Hub 2.2.1 on a Windows 7 SP1 machine. I’ve attached the log.

5246018–523952–info-log.zip (858 Bytes)

Have you installed the correct version for your operating system?

vc_redist.x64.exe : 64 bit
vc_redist.x86.exe : 32 bit