blug/site/awful_software/bee_backend_workaround.txt

19 lines
508 B
Bash

#! /bin/bash
# place in 2021.3.41f1/Editor/Data/bee_backend
# (or whatever version you have)
# rename the original bee_backend to bee_backend_real
# thank you neamtim https://discussions.unity.com/t/linux-editor-stuck-on-loading-because-of-bee_backend-w-workaround/854480
# (i don't trust unity threads to continue existing)
args=("$@")
for ((i=0; i<"${#args[@]}"; ++i))
do
case ${args[i]} in
--stdin-canary)
unset args[i];
break;;
esac
done
${0}_real "${args[@]}"