Draft: add Unity 2021 editor fixes

This commit is contained in:
Etch9 2025-05-17 20:58:43 +00:00
parent 7b90c31a5f
commit 7095c35f6f

View file

@ -185,4 +185,26 @@ If you launch projects from Unity Hub: Open Unity Hub, click the `...` icon to t
Alternatively, downgrading the Nvidia driver to version 545 may also fix the problem. Alternatively, downgrading the Nvidia driver to version 545 may also fix the problem.
<!-- This fix is mentioned in https://discussions.unity.com/t/unity-editor-crashes-frequently-on-linux-vulkan-after-updating-gpu-drivers/941387/10, and appears to be a new issue as of driver version 550 --> <!-- This fix is mentioned in https://discussions.unity.com/t/unity-editor-crashes-frequently-on-linux-vulkan-after-updating-gpu-drivers/941387/10, and appears to be a new issue as of driver version 550 -->
### Unity 2021 crashing
For unity 2021.3.x on linux, the following steps should be followed: (TODO: mention original forum post)
install the correct version along with windows/linux build support.
go to ~/Unity/Hub/Editor/2021.3.xxxx/Editor/Data, (TODO:talk other paths)
rename bee_backend to bee_backend.bin,
create a new text file named bee_backend in the same directory,
mark it as executable (so chmod 755 bee_backend or use your file browser),
fill it with these contents:,
#!/bin/bash
args=("$@")
for ((i=0; i<"${#args[@]}"; ++i))
do
case ${args[i]} in
--stdin-canary)
unset args[i];
break;;
esac
done
${0}.bin "${args[@]}"