Merge branch 'main' into 'main'

remove: Removed patch for SDK since it isn't needed anymore

See merge request lvra/lvra.gitlab.io!8
This commit is contained in:
libjared 2024-02-23 22:11:49 +00:00
commit a1b1e61306

View file

@ -41,37 +41,6 @@ The solution is to import this unitypackage: https://github.com/thegu5/VRCSDKonL
Importing this will mod the appropriate VRCSDK methods to be case-sensitive-aware.
### NullReferenceException when uploading
This is an SDK bug. [Vote for this Canny!](https://feedback.vrchat.com/sdk-bug-reports/p/350-beta1-avatar-upload-fails-on-linux-editor)
To patch it temporarily, run this command:
```bash
cd ~/YourProject
git apply << EOF
diff --git a/Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCTools.cs b/Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCTools.cs
index 5104edb..5820d61 100644
--- a/Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCTools.cs
+++ b/Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCTools.cs
@@ -108,7 +108,13 @@ namespace VRC.SDKBase.Editor.Api
{
continue;
}
- var groups = (IEnumerable)groupsList?.GetValue(servicePointGroups.GetValue(scheduler));
+ // var groups = (IEnumerable)groupsList?.GetValue(servicePointGroups.GetValue(scheduler));
+ var servicePointGroup = servicePointGroups?.GetValue(scheduler);
+ if (servicePointGroup == null)
+ {
+ continue;
+ }
+ var groups = (IEnumerable)groupsList?.GetValue(servicePointGroup);
// we're going to retry finding the active service point
if (groups == null)
EOF
```
## Using VCC instead?
If you prefer GUIs, it is now possible to use VRChat Creator Companion (VCC) on Linux.