I’ve run into issues with manjaro and unity in the past. I thought I’d just get a post together on what I’ve done this time around to get it up and running again. This time around it took me a little less than an hour to get it working but I don’t want to keep hunting for the problems I’ve solved in the past.
From a fresh install (with proprietary drivers):
Enable AUR in package manager. Install yay. Do a little update.
sudo pacman -Syu
sudo pacman -S base-devel
sudo pacman -S dotnet-sdk
yay -S unityhub
When selecting how the dependencies compile… Choose All and None (or All if you care about the diffs)
Launch unityhub.
Download whatever version of Unity is required in the hub – I’ve been using 2021.3 for awhile.
First launch of Unity failed… or never really started and hung on an asset refresh. I recalled having to deal with bee_backend last time I did this, so:
cd ~/Unity/Hub/Editor/2021.3.45f2/Editor/Data
cp bee_backend bee_backend_real
vi bee_backend
#! /bin/bash
args=("$@")
for ((i=0; i<"${#args[@]}"; ++i))
do
case ${args[i]} in
--stdin-canary)
unset args[i];
break;;
esac
done
${0}_real "${args[@]}"
chmod +x ./bee_backend
Launching Unity again I was faced with “compilation” errors because libssl wasn’t found.
Install openssl-1.1 but… I had to do this using the package manager and the AUR.
Download Rider for Linux
… and that was it! I hope!