Run unityhub (process continues to live after printing these lines):
$ unityhub
Fontconfig warning: "/usr/share/fontconfig/conf.avail/05-reset-dirs-sample.conf", line 6: unknown element "reset-dirs"
Checking for update
Found version 2.4.5 (url: UnityHub.AppImage)
Downloading update from UnityHub.AppImage
updater cache dir: /home/ben/.cache/unityhub-updater
No cached update info available
Error: Error: APPIMAGE env is not defined
at newError (/nix/store/2njkbzasgj4bznk58azcv6jhdmb3p8zk-unityhub-extracted/resources/app.asar/node_modules/builder-util-runtime/out/index.js:212:17)
at Object.task (/nix/store/2njkbzasgj4bznk58azcv6jhdmb3p8zk-unityhub-extracted/resources/app.asar/node_modules/electron-updater/out/AppImageUpdater.js:106:52)
at AppImageUpdater.executeDownload (/nix/store/2njkbzasgj4bznk58azcv6jhdmb3p8zk-unityhub-extracted/resources/app.asar/node_modules/electron-updater/out/AppUpdater.js:741:25)
Run another unityhub process on a separate terminal because for some reason the first process doesn't open it:
$ unityhub
$
I try to log into Unity, but I am greeted with a blank window:
Expected behavior
Some webpage will load that lets me login.
Additional context
I've looked at the inspector in the Electron app. No errors anywhere.
Threads on the Unity forums [1] suggest this has happened before to many people over the years on various operating systems and was fixed by clearing cached files from previous unityhub runs/installs. I used strace to figure out some of the directories and deleted ~/.config/UnityHub, ~/.cache/unityhub-updater, and ~/.cache/mesa_shader_cache, but it did not help.
Unfortunately, I GC'd previous nix builds, but I tried installing unityhub at unstable commits just before changes to pkgs/development/tools/unityhub/default.nix, with no change in behavior.
Describe the bug
Trying to open the login window on a recent
unityhub
gives a blank white screen instead.Not sure if it's a Unity issue or some weird state on my machine... just wanted to know if anyone else's
unityhub
is broken.Steps To Reproduce
Use recent (~2021-10-28) commit on
unstable
inconfiguration.nix
to installunityhub
package:Run
unityhub
(process continues to live after printing these lines):Run another
unityhub
process on a separate terminal because for some reason the first process doesn't open it:I try to log into Unity, but I am greeted with a blank window:
Expected behavior
Some webpage will load that lets me login.
Additional context
unityhub
runs/installs. I usedstrace
to figure out some of the directories and deleted~/.config/UnityHub
,~/.cache/unityhub-updater
, and~/.cache/mesa_shader_cache
, but it did not help.unityhub
atunstable
commits just before changes topkgs/development/tools/unityhub/default.nix
, with no change in behavior.Metadata