Canonical has released it’s LTS version of Ubuntu 22.04 in April and we’re currently working to support Unity Editor on this edition of Ubuntu. There are some known issues and known workaround that I’d like to share here for anybody looking to get the Editor running on 22.04 in the meantime,.
You will also need to install libssl1.1, see below.
The Unity Hub App Image, while no longer supported, can still be used with the following workarounds:
Unity Hub might be missing the libfuse2 library and will fail to start. To workaround this you can install libfuse2 with
sudo apt install libfuse2
- UnityHub.AppImage crashes on launch when run with proprietary NVIDIA drivers
- You can workaround this issue by disabling the gpu sandbox for unity hub.
- ```
./UnityHub.AppImage --disable-gpu-sandbox
Unity Editor Known Issues
Unity Editor fails to launch and complains about “no usable version of libssl was found”
Ubuntu 22.04 now ships with libssl3 by default and does not include libssl1.1. Unity currently uses .NET5 which requires libssl1.1. To work around this issue you can install libssl1.1 from an older Ubuntu release
I am slightly confused. Didn’t the Unity drop support for Appimage version of Unity Hub? (I would be happy if it didnt) But from the other UnityHub linux posts I got the impression that from now on only supported way is installing UnityHub by adding Unity repositories to the system pacakage manager.
I am on Ubuntu 22.04. I was able to get the Unity Hub launched with the disable gpu sandbox flag. It did not find my Unity License though. It was able to find my Unity License before I upgraded from Ubuntu 20.04 to 22.04. When I try to add the license file the “Activate with a serial number” option is grayed out. I checked my account, my Unity License is still active and assigned to me.
I also tried installing UnityHub from the Unity repo. That version just crashes on launch.
Any pro tips to get my Unity install working again would be epic!
You are correct, the workflow for using the AppImage is outdated and the preferred way to install is to use the apt after installing the unity hub repository to apt. I’ve edited the original post with instructions. Thanks!
I’m getting this error:
[11181:0615/124525.183860:FATAL:electron_main_delegate.cc(252)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
Trace/breakpoint trap (core dumped)
I keep getting this error:
ERROR: Licensing SDK logging callback is not registered. Please use ‘registerLoggingAdapter’ func
tion from the SDK to do so.
I once used flatpack and they had problems integrating with unity. I have a manjaro. There were no problems when using the - aur source. Maybe you should use deb packages
It’s not that they had “problems integrating” but rather it’s an unofficial, community-maintained source. Which is unfortunate since if Unity offered an official flatpak version in the first place, they wouldn’t have this dependency problem to begin with. Dropping the AppImage (and not offering a replacement with either flatpak or snap) was a poor decision on their end. Feels like they’re going backwards.
I will try migrate my Windows dev env to Ubuntu dev env, but the Unity Editor in Ubuntu is very slow. The game project is the same and it uses Assembly definitions files.
Problem in Ubuntu: Any script modification (add a space) results in a Reload Script Assemblies (5 minutes or more).
im running kubuntu 22.04 the unity hub installs and works perfectly but it does not install any version of unity i tried 2019 and 2020 plus 2021 it just gives an error failed to install and when i was checking the compressed files it said file corrupt or damage might be missing some files
I tried the workaround mentioned in the OP here, but ever since then, I kept getting the error “The repository ‘Index of /ubuntu impish-security Release’ does not have a Release file.” whenever I run sudo apt update. I read that I could just comment out some lines in the impish related files in /etc/apt/sources.list and /etc/apt/sources.list.d, but I wasn’t sure if there won’t be any other system or security problems down the line.
Is the workaround using libssl1.1 even a secure workaround? It would be much appreciated if Unity Hub could support libssl3 on Ubuntu 22.04 so that workarounds are not needed.
I am seeing the same error when I tested it out just now on Ubuntu 22.04. It looks like that repo is no longer accessible since I am also seeing the error below when running sudo apt update.