Is it only a bash script that needs to be run as root for setting suid on the chrome sandbox? There's surely a better way to do that like having a startup script for the unity editor that checks permissions and runs chmod with sudo if necessary... It's just that we feel kinda uncomfortable running random installers as root, because you never know what it's actually going to do. I've seen proprietary software install random libraries in /usr/lib for example. The unity-editor.desktop file contains a hardcoded path Exec=/opt/Unity/Editor/Unity that is not correct when the user supplied -o /whatever to the installer.
Yes, basically. I understand, but we won't do that. Right - that's there as a template so that you can modify/install it in a way that makes sense for you.