Empty log errors in 2019.1.0f2

Hi everyone !
I got strange errors in the Unity Editor (2019.1.0f2). I’m under the new ubuntu 19.04 (Disco Dingo), with a fresh install.

Basically, i got some errors without any description (only the datetime is visible). I tried with a few projects, same problems.
I installed all the dependances listed in the releases thread.

I tried to look into the log file, but… maybe this ?

-----CompilerOutput:-stderr----------
No usable version of the libssl was found
/home/eyap/Unity/Hub/Editor/2019.1.0f2/Editor/Data/Tools/RoslynScripts/unity_csc.sh: line 64: 25959 Aborted (core dumped) “/home/eyap/Unity/Hub/Editor/2019.1.0f2/Editor/Data/Tools/RoslynScripts/…/…/Tools/Roslyn/csc” /shared /noconfig @ /UnityTempFile-a3c7e49e5e33525719b0c8e72a21e002
-----EndCompilerOutput---------------

I attached to this post the full log file.
Thanks for any help you can provide :slight_smile:

Also, while i’m here : A big thanks to the unity dev team, being able to dev on linux is really really appreciated. Keep up the good work !

EDIT : I realized that the error is the same as the one in that thread : https://forum.unity.com/threads/unity-2019-1-0f2.664021/.
As i find this other thread quite misleading, i will keep this one open.
But a few things worth mentionning : I’m using the Unity hub (v1.6.1, cause i had no chances with the new beta 2.0).
Also, as in the other thread, my package manager is missing. I also tried to use “Reset Packages to defaults”, without much results.

4483414–412672–Editor.log.txt (341 KB)

1 Like

“No usable version of the libssl was found”

Looks to be the error. Ubuntu 19.04 renamed a file…
https://packages.ubuntu.com/cosmic/libssl1.0.0

We have a bug internally and it should be fixed in the future.

4 Likes

Hi, thanks for the response. Glad to hear it :slight_smile:

1 Like

By any chance, do you know when it may be fixed ?

Also, is there a workaround ubuntu 19.04 users can use in the meantime ? (like making an alias to libssl1.1, find a way to use the old package, or something else… ) ?

No ETA as 19.04 is yet officially supported.

Hey Eyap

I had the same problem, in the end I downloaded the package for my arch type from the link provide

https://packages.ubuntu.com/cosmic/libssl1.0.0

so for arm64 you want

http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu6.2_amd64.deb

Here’s what version was installed

https://packages.ubuntu.com/disco/libssl1.1

I then ran the .deb file and it installed version 1.0.0 of libssl and my scripts where finally able to compile.
Not saying this is a sensible thing to do, but it got Unity working for me which was all I needed the virtual
machine I just setup to do haha.

6 Likes

Hey tomhog,

Just tried to add the libssl1.1.0 package, and start a new 2019.1 / 2019.2 project, it indeed seems to work :smile: ! (I don’t have any log errors, and the packages are updating fine). I don’t really think there is any major drawbacks, as internally ubuntu will still rely on the installed libssl1.1 (i suppose ?), and for the package manager it’s the same lib for 18.04.
Also, i don’t think ssl is used elsewhere, so it should be the end of the bug…

Even if the solution may seems easy to find, i didn’t really had time to investigate more and try things, so a really big thanks for that ! :wink:

1 Like

Problem replicated here, and this workaround also worked for me.

1 Like

Tomhog it fixed everything for me as well. You are an amazing human bean. I hear this problem will be fixed in Unity 2019.3 Unity Issue Tracker - [Linux] Roslyn fails if there is a newer libssl than 1.0

1 Like

I was going mad trying to find out why Unity wasn’t running the scene. This is my first installation of Ubuntu so I didn’t forsee the latest version of Ubuntu being the error. Thank you for identifying the workaround!

Thanks ! This worked for me too !

HatTip to @SamSpain

Sorry to necropost but heads up to anyone else running into this on Fedora 30. If you install the “compat-openssl10” packages, this will resolve your issue. Not sure if this same package applies to other distros but may be worth checking.

On pre-19.04 Ubuntu you should be able to just run apt-get install openssl1.0

For the workaround above by tomhog, it also appears that libssl1.0.2 should work if you want something a more up to date than just libssl 1.0.0 per below from an strace of the rosyln/csc utility.

openat(AT_FDCWD, "/lib64/tls/libssl.so.1.0.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/lib64/libssl.so.1.0.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/tls/libssl.so.1.0.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/usr/lib64/libssl.so.1.0.2", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

Thank you guys for helping me find the right direction to proceed past this on Fedora and good luck to anyone running into this in the future.

i just downloaded the lib from https://packages.ubuntu.com/cosmic/libssl1.0.0
AND IT WORKS!!!
after countless hours scavenging internet for solutions and trying everything i finally found this post that worked and the empty errors are gone, Thanks alot!! :slight_smile:

Tahnk you tomhog i downloaded your link, installed, restarted Unity Editor and it works!! Ubuntu 19.10
http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu6.2_amd64.deb

This worked for me as well on Ubuntu 19.10 and Unity 2019.2.12f1, using the link from HappyLDE above.
Thanks.

This worked really well for me! Thanks

And for Fedora you could install compat-openssl10.

sudo dnf install compat-openssl10 -y

The http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu6.2_amd64.deb link is now a 404.
The link that worked for me is http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.7_amd64.deb

Still does not work for me and my openssl version is 1.0.2l

1 Like