diff --git a/Editor/MergeArmatureHook.cs b/Editor/MergeArmatureHook.cs index b6ba5870..d3de531b 100644 --- a/Editor/MergeArmatureHook.cs +++ b/Editor/MergeArmatureHook.cs @@ -178,7 +178,7 @@ namespace nadena.dev.modular_avatar.core.editor return cached; } - var obj = asc.ObjectPathRemapper.GetObjectForPath(bindingPath)!.transform; + var obj = asc.ObjectPathRemapper.GetObjectForPath(bindingPath)?.transform; while (obj != null && transformLookthrough.Contains(obj)) { obj = obj.parent;