From 0cd6c76626ef806914525f1b6b60b3ce3b378247 Mon Sep 17 00:00:00 2001 From: Justin Oros Date: Thu, 24 Sep 2026 22:48:39 -0700 Subject: [PATCH] Cast IResourceLocator to Il2CppSystem.Object before GetIl2CppType --- RigProbe.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RigProbe.cs b/RigProbe.cs index 3ee9b0e..3fc614b 100644 --- a/RigProbe.cs +++ b/RigProbe.cs @@ -681,7 +681,7 @@ public class RigProbe : SonsMod string locType; try { - locType = locator.GetIl2CppType().FullName; + locType = locator.Cast().GetIl2CppType().FullName; } catch {