Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Bug Unityhub not working on Fedora 36 workstation

Discussion in 'Unity Hub' started by Duathphoenix, Jun 28, 2022.

  1. Duathphoenix

    Duathphoenix

    Joined:
    Feb 20, 2019
    Posts:
    3
    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 ?
     
  2. TheRealMajorGonzo

    TheRealMajorGonzo

    Joined:
    May 12, 2018
    Posts:
    11
    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
     
    kdchabuk likes this.
  3. The_Blog

    The_Blog

    Joined:
    Jun 14, 2017
    Posts:
    2
    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. :/

    Thanks in advance for any help!