Unityhub not working on Fedora 36 workstation

Hey all,

I’ve followed the unity’s official instructions on installing unity hub on RHEL distros. But upon installing unityhub it kept showing a black screen, I installed openssl but that gets me to the signin page where the sign in button doesnt work. This is the error i get when i run sudo unityhub in terminal.

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Checking for update
Error: Error: ENOENT: no such file or directory, open ‘/opt/unityhub/resources/app-update.yml’
(electron) Security Warning: A WebContents was just created with both webviewTag and contextIsolation enabled. This combination is fundamentally less secure and effectively bypasses the protections of contextIsolation. We strongly recommend you move away from webviews to OOPIF or BrowserView in order for your app to be more secure

Does anyone have any idea on how to tackle this ?

I just figured out how to get rid of the first error. Launch unityhub like this:
LIBVA_DRIVER_NAME=amdgpu unityhub
Obviously, I have an AMD gpu. If you have NVIDIA, substitute your driver name.
For ease of use, I created this alias:
alias unityhub=‘LIBVA_DRIVER_NAME=amdgpu unityhub &’

As an aside, fixiing this fixed a crash I kept getting when running my game maximized in Unity

1 Like

Hi,

thanks for the fix. This fixed the libva error in my console. However the sign-in button still doesnt work. Does anybody have an idea how to fix this? I can’t proceed without being able to sign in. :confused:

Thanks in advance for any help!