From 7095c35f6f3864a4d3e4c547543358a7ea579153 Mon Sep 17 00:00:00 2001 From: Etch9 Date: Sat, 17 May 2025 20:58:43 +0000 Subject: [PATCH] Draft: add Unity 2021 editor fixes --- content/docs/vrchat/unity.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/content/docs/vrchat/unity.md b/content/docs/vrchat/unity.md index d2debac..227b6f1 100644 --- a/content/docs/vrchat/unity.md +++ b/content/docs/vrchat/unity.md @@ -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. - \ No newline at end of file + +### 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[@]}" \ No newline at end of file