Merge branch 'chibiskuld-main-patch-00694' into 'main'

Chibiskuld main patch 00694

See merge request lvra/lvra.gitlab.io!18
This commit is contained in:
Josephine Wall 2024-06-13 03:36:36 +00:00
commit f3ccc1c768

View file

@ -62,7 +62,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. 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/<CompanyName> 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
sudo rm -rf /tmp/DefaultCompany
sudo rm -rf /tmp/DefaultCompany-cs
mkdir -p /tmp/{DefaultCompany,DefaultCompany-cs}
ciopfs /tmp/DefaultCompany-cs /tmp/DefaultCompany
```
<sub>(Original coded provided by z20kdc)</sub>
Do not forget to mark your script as executable with `chmod +x <scriptname>`
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 ### Shaders fail to include some .cginc files