From b6e26edb5da9fb60d4ee731627be9a21444dfd9c Mon Sep 17 00:00:00 2001 From: Josephine Wall Date: Fri, 12 Apr 2024 20:02:20 +0000 Subject: [PATCH 1/2] Update unity.md --- content/docs/vrchat/unity.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/content/docs/vrchat/unity.md b/content/docs/vrchat/unity.md index 5a36565..670618c 100644 --- a/content/docs/vrchat/unity.md +++ b/content/docs/vrchat/unity.md @@ -60,7 +60,19 @@ exec flatpak run com.unity.UnityHub "$@" When building and uploading, this error message may appear. It's caused by VRCSDK building an AssetBundle whose filename has mixed caps, when Unity AssetBundles are really only supposed to have lowercase filenames. -To fix this, import `WorldSDKPatch.unitypackage`: https://github.com/thegu5/VRCSDKonLinux/releases +There are two fixes to this. The first is you can simply virtually mount the /tmp/ folder as a case insensitive folder. This is usually /tmp/DefaultCompany check your Unity Player settings if you need to confirm this. You can setup a script to do this with the following code: +```bash +#!/bin/bash +sudo umount /tmp/DefaultCompany +sudo rm -rf /tmp/DefaultCompany +sudo rm -rf /tmp/DefaultCompany-cs +mkdir -p /tmp/{DefaultCompany,DefaultCompany-cs} +ciopfs /tmp/DefaultCompany-cs /tmp/DefaultCompany +``` +(Original coded provided by z20kdc) +Do not forget to mark your script as executable with `chmod +x ` + +To 2nd fix is to patch the SDK. You can do this by importing `WorldSDKPatch.unitypackage`: https://github.com/thegu5/VRCSDKonLinux/releases ### Shaders fail to include some .cginc files From 1124ee0bc9af0a6db8e09fcd0d215fb71efd654b Mon Sep 17 00:00:00 2001 From: Josephine Wall Date: Fri, 12 Apr 2024 20:07:38 +0000 Subject: [PATCH 2/2] Update unity.md --- content/docs/vrchat/unity.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/vrchat/unity.md b/content/docs/vrchat/unity.md index 670618c..25efe89 100644 --- a/content/docs/vrchat/unity.md +++ b/content/docs/vrchat/unity.md @@ -60,7 +60,7 @@ exec flatpak run com.unity.UnityHub "$@" When building and uploading, this error message may appear. It's caused by VRCSDK building an AssetBundle whose filename has mixed caps, when Unity AssetBundles are really only supposed to have lowercase filenames. -There are two fixes to this. The first is you can simply virtually mount the /tmp/ folder as a case insensitive folder. This is usually /tmp/DefaultCompany check your Unity Player settings if you need to confirm this. You can setup a script to do this with the following code: +There are two fixes to this. The first is you can simply virtually mount the /tmp/ folder as a case insensitive folder. This is usually /tmp/DefaultCompany check your Unity Player settings if you need to confirm this. You can setup a script to do this with the following code (Change DefaultCompany if you have to): ```bash #!/bin/bash sudo umount /tmp/DefaultCompany