The recent LTS release of Ubuntu introduced some more strict apparmor policies that are affecting many packages. To fix it is quite simple, add a file so apparmor don't deny Unityhub actions.
You can do it by yourself or use the script utility I wrote. For the script checkout Using the script
If you installed using the .deb
distribution, your Unity Hub binary file is probably at /opt/unityhub/unityhub-bin
, so you can just copy-paste the snippet to /etc/apparmor.d/unityhub