Skip to content

Instantly share code, notes, and snippets.

@alertedsnake
Created February 7, 2024 19:40
Show Gist options
  • Save alertedsnake/c6a5e6fcf81cc3b32bee3daaa1e4a801 to your computer and use it in GitHub Desktop.
Save alertedsnake/c6a5e6fcf81cc3b32bee3daaa1e4a801 to your computer and use it in GitHub Desktop.
--- Packages.orig/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCTools.cs 2023-12-15 17:36:51.390368366 -0500
+++ Packages/com.vrchat.base/Editor/VRCSDK/Dependencies/VRChat/API/VRCTools.cs 2023-12-15 17:37:10.234606341 -0500
@@ -108,7 +108,12 @@
{
continue;
}
- 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)
@alertedsnake
Copy link
Author

Run this via patch -p0 < vrc-sdk3.5-linux.patch in your project directory to fix silly broken build issues on Linux.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment