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.
  2. Join us on Dec 8, 2022, between 7 am & 7 pm EST, in the DOTS Dev Blitz Day 2022 - Q&A forum, Discord, and Unity3D Subreddit to learn more about DOTS directly from the Unity Developers.
    Dismiss Notice
  3. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Workaround for libssl issue on Ubuntu 22.04

Discussion in 'Linux' started by AlfieBooth, Apr 22, 2022.

  1. AlfieBooth

    AlfieBooth

    Joined:
    Dec 2, 2013
    Posts:
    26
    Hi all. If when opening the editor on the new LTS 22.04 you get the error 'No useable version of libssl' it's due to a change in the libssl version.
    The fix that worked for me was manually downloading the 'libssl1.0.0_1.0.2n-1ubuntu5.8_amd64.deb' package from http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/

    NOTE: download the right version for your architecture

    then, in the download location:
    sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.8_amd64.deb

    restart the unity editor and hopefully you're back in the game.
     
  2. bebeto135

    bebeto135

    Joined:
    Apr 24, 2022
    Posts:
    1
    Hi, I had the same problem and I fixed it. Additionally it can help to use the .NET 3.1 Version (just delete your current .net version and install the 3.1 one) and to delete your old libssl version.
    libssl 1.1.1 also works with Unity 2021.3.1f1.
     
  3. KevinWelton

    KevinWelton

    Unity Technologies

    Joined:
    Jul 26, 2018
    Posts:
    233
    The issue right now is that we currently use .NET 5 in the Linux builds, which dynamically loads either OpenSSL 1.0 or 1.1. But Ubuntu 22.04 only includes OpenSSL 3.

    We are definitely aware of it and are considering a few solutions.
     
  4. Invector

    Invector

    Joined:
    Jun 23, 2015
    Posts:
    961
    Are guys able to install Plastic SCM on Ubuntu 22.04? It's currently the only issue that is preventing me from dropping Windows right now
     
  5. Deleted User

    Deleted User

    Guest

    Thanks a lot, Alfie.

    Before doing so, I also had to
    sudo apt install libssl-dev
    .

    So if another one of you is having trouble doing that, maybe that'll solve it.
     
  6. markmozza

    markmozza

    Joined:
    Oct 16, 2015
    Posts:
    53
    Any news, bumbed out ive fully dropped windows finally, and yet i cant do S***, i dont understand why 10 years later unity is still broken on linux on LTS. i would understand if it was a preview release, but LTS should be fixed up asap.
     
    omaximov95 likes this.
  7. kibi_unity

    kibi_unity

    Joined:
    Dec 29, 2021
    Posts:
    6
    Sorry, just to add that I now have this problem on my Ubuntu 22.04 - I really would like some sort of fix asap!
     
  8. LevonRavel

    LevonRavel

    Joined:
    Feb 26, 2014
    Posts:
    176
    Here is a fix that will allow you to run the editor
    if your using i386 just replace the _amd64.deb with _i386.deb

    wget "http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb"
    wget "http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0-dev_1.0.2n-1ubuntu5.10_amd64.deb"
    sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.10_amd64.deb
    sudo dpkg -i libssl1.0-dev_1.0.2n-1ubuntu5.10_amd64.deb
     
  9. kibi_unity

    kibi_unity

    Joined:
    Dec 29, 2021
    Posts:
    6
    Thank you! I am now on version 1.0.2
    And thank you for your service
     
    harleyca, Edgar23 and LevonRavel like this.
  10. fjjoubert

    fjjoubert

    Joined:
    Oct 10, 2021
    Posts:
    3
    I just started getting this error out of the blue on Pop!_OS 22.04 LTS after working with Unity on Linux for over 4 months now.
     
    Drigster likes this.
  11. Drigster

    Drigster

    Joined:
    May 9, 2020
    Posts:
    1
    Did you fix it?
     
    markmozza likes this.
  12. markmozza

    markmozza

    Joined:
    Oct 16, 2015
    Posts:
    53
  13. saint-jess

    saint-jess

    Joined:
    Sep 29, 2022
    Posts:
    1
    maskedkni8 likes this.
  14. Wismgari

    Wismgari

    Joined:
    Mar 1, 2015
    Posts:
    4
    Still an issue, the Unity Hub doesn't even load on a fresh install of 22.04. Sits there with the Unity logo and a spinning circle beneath it doing nothing. No errors, no activity, no sign of life. If this was your first impression of Unity, it would not be a good one...

    Fortunately I've been using Unity on 22.04 for a few months now... so I knew it *should* work. The difference I now know, is that my old PC had been upgraded from 20.04- > 21.04 -> 21.10 -> 22.04 so it must have had older libs in place that Unity needs.

    On my fresh install of 22.04 and figuring it was the Hub that was at fault, I eventually realised I could install Unity without the Hub and going through the manual license activation got to my project with the libssl error in the editor. Finally, an actual error message! That lead me here and to the fixes above - thank you all!

    With the older libssl installed, the Hub actually loads.
     
    Skade88 likes this.
  15. maskedkni8

    maskedkni8

    Joined:
    Jan 27, 2018
    Posts:
    1
  16. ten_dlabaja

    ten_dlabaja

    Joined:
    Jul 11, 2021
    Posts:
    2
    What can I do when I'm running Fedora 36? Downgrading openssl to 1.1 would probably break my system. The log file looks like this: https://pastebin.com/26aud3ZM (I have a valid PRO license btw).
     
    Last edited: Oct 29, 2022
  17. ChiwTheNeko

    ChiwTheNeko

    Joined:
    Mar 24, 2022
    Posts:
    33
    I'm running Fedora 36 and I didn't have to do anything special to get the official Unity Hub package working.
     
  18. synasius

    synasius

    Joined:
    Nov 22, 2013
    Posts:
    8
    riceqrispy likes this.
  19. tomachinz

    tomachinz

    Joined:
    Mar 2, 2019
    Posts:
    15
  20. LevonRavel

    LevonRavel

    Joined:
    Feb 26, 2014
    Posts:
    176
    Your welcome :)