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.

Resolved How to install Unity Hub 3.4.1 in Ubuntu 22.04 LTS

Discussion in 'Unity Hub' started by Chodjo, Jul 20, 2022.

  1. Chodjo

    Chodjo

    Joined:
    Sep 26, 2017
    Posts:
    6
    Hi,

    As I've been struggling to make Unity Hub work in my recently installed Ubuntu 22.04, and saw that it was a common issue, I decided to share how I fixed it. Hope it works for all of you :)

    1) First we add the repository

    sudo sh -c 'echo "deb https://hub.unity3d.com/linux/repos/deb stable main" > /etc/apt/sources.list.d/unityhub.list'


    2) Now we get the key. As apt-key is deprecated, we will use a different command from the unity tutorial.

    wget -qO - https://hub.unity3d.com/linux/keys/public | sudo tee /etc/apt/trusted.gpg.d/myrepo.asc


    3) Its time to update the package cache

    sudo apt update


    4) We need to install a dependency, libssl1.1 that we have to download and install manually

    http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1l-1ubuntu1.6_amd64.deb && sudo dpkg -i libssl1.1_1.1.1l-1ubuntu1.6_amd64.deb


    5) We can now install a unityhub version that works. UnityHub 3.2.0 didnt work for me so I installed an older version, 3.1.0

    sudo apt install unityhub=3.1.0


    6) Now we can start Unity Hub and log in. After setting our license, we are ready to upgrade to latest version 3.2.0

    sudo apt upgrade unityhub


    It may take a while to launch. Enjoy!
     
    prince_kz and unaited like this.
  2. unaited

    unaited

    Joined:
    Nov 5, 2021
    Posts:
    1
    But windows??
     
  3. Chodjo

    Chodjo

    Joined:
    Sep 26, 2017
    Posts:
    6
  4. single9

    single9

    Joined:
    Nov 9, 2016
    Posts:
    1
    prince_kz likes this.
  5. Chodjo

    Chodjo

    Joined:
    Sep 26, 2017
    Posts:
    6
    Hi, just came to update info. You can install flawlessly 3.4.1 right now, so you dont need to specify 3.1.0 version anymore.

    Last line should be:

    sudo apt install unityhub


    Enjoy :)
     
  6. Deleted User

    Deleted User

    Guest

    Even after following your instructions I'm still not having any luck launching unityhub.
    I did the 3.1.0 version too.

    I run "unityhub" from a terminal and see this:
    ```
    $ unityhub

    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
    ```

    a window opens with a blue "sign in" button. When I click that, another window opens and a browser tab opens. But the other window disappears with no warning or error. The browser tab is blank.

    I thought maybe something about my account (the URL mentions a challenge) but no email and I can log into unity3d.com normally in a browser no problem.