Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

Issues with Unity Hub on Fedora 30

Discussion in 'Unity Hub' started by despicable_meme, Oct 27, 2019.

  1. despicable_meme

    despicable_meme

    Joined:
    Oct 27, 2019
    Posts:
    1
    Afternoon all,

    I'm very new to this but figured I'd document some of the issues I've come across, and how I've fixed them, as I get up and running with Unity on Fedora 30.

    Hopefully this will help someone out, let me know if you have any questions regarding issues I haven't gotten to yet.

    General Debug

    The Unity Hub appImage/binary itself doesn't seem to support a --debug flag, but in your project list, you can pop open the menu under the three dots, select Advanced Options and pass various options in from here:

    https://docs.unity3d.com/Manual/CommandLineArguments.html

    I found it helpful to have things streaming out to a log in /tmp rather than one hidden under a dotfile in /home, which I did with this:

    -logFile /tmp/unity.out

    Assets won't download from the asset store, hang at 0%

    The first (and so far only) major issue I came across.

    Assets wouldn't download at all, but neither did they error.

    Using the log we set up previously, you get this error:

    Curl error 77: Error reading ca cert file from /etc/ssl/certs/ca-certificates.crt

    Fedora keeps it's ca bundles in a different place, which unity isn't looking at (due to us using an OS they don't specifically support).

    user@host ~ $ stat /etc/ssl/certs/ca-certificates.crt
    stat: cannot stat '/etc/ssl/certs/ca-certificates.crt': No such file or directory

    We can simply symlink the actual cert bundle over the top, and then unity will start using it:


    user@host ~ $ sudo ln -s /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem /etc/ssl/certs/ca-certificates.crt

     
    safaGH likes this.
  2. fxhp

    fxhp

    Joined:
    Sep 26, 2019
    Posts:
    1
    I def got snagged by this and lost a few days of working time as a result of bug hunting this defect. Thanks for the explanation and the work around. Unity devs please fix this, root ca certificates are not always on the same location on all systems!