Unity: add avatar offline build & test instructions

This commit is contained in:
hypevhs 2024-08-14 08:29:31 +00:00
parent 988810b66f
commit 1df86394d9

View file

@ -65,6 +65,14 @@ This error is caused by VRCSDK build incorrectly expecting a mixed-case AssetBun
To fix this, import `WorldSDKPatcher.unitypackage`: https://github.com/thegu5/VRCSDKonLinux/releases
### Avatars: Local test avatars don't show up ingame
The "Build & Test" button on the SDK will create avatar AssetBundles (.vrca). However (and assuming the build succeeds), it writes them to a different location than VRChat's Proton prefix. Just symlink and try the build again.
```
ln -sf ../Steam/steamapps/compatdata/438100/pfx/drive_c/users/steamuser/AppData/LocalLow/VRChat/VRChat ~/.local/share/VRChat/VRChat
```
### Shaders fail to include some .cginc files
This can happen with Poiyomi. It's caused by case-sensitivity. You may need to edit the shader files directly. Open them in any text editor, and correct the casing of filenames.