From 31de82041d5a97aa945b41ffdf187adb37b08b0b Mon Sep 17 00:00:00 2001 From: Nullmatic Date: Wed, 21 Feb 2024 17:36:25 -0600 Subject: [PATCH] remove: Removed patch for SDK since it isn't needed anymore --- content/docs/vrchat/unity.md | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/content/docs/vrchat/unity.md b/content/docs/vrchat/unity.md index 65e0c5d..d970974 100644 --- a/content/docs/vrchat/unity.md +++ b/content/docs/vrchat/unity.md @@ -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.