#!/bin/sh # This prevents the editor from crashing when opening projects in some systems unset GTK_IM_MODULE # HACK: fixes WebGL builds by adding a symlink (python -> python2) to the PATH export PATH=/opt/UnityBeta/Editor:$PATH mkdir -p ~/.local/share/unity3d/Packages exec /opt/UnityBeta/Editor/Unity "$@"