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

This commit is contained in:
Nullmatic 2024-02-21 17:36:25 -06:00
parent c188acc977
commit 31de82041d
No known key found for this signature in database
GPG key ID: 96CC7E11020FBE77

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.