diff --git a/Assets/VRM/Runtime/Extensions/glTF_VRMExtensions.cs b/Assets/VRM/Runtime/Extensions/glTF_VRMExtensions.cs index a08f8d01c..73bb8e6a3 100644 --- a/Assets/VRM/Runtime/Extensions/glTF_VRMExtensions.cs +++ b/Assets/VRM/Runtime/Extensions/glTF_VRMExtensions.cs @@ -32,7 +32,7 @@ namespace VRM if (found == null) { var name = binding.RelativePath.Split('/').Last(); - found = root.GetComponentsInChildren().Where(x => x.name == name).FirstOrDefault(); + found = root.GetComponentsInChildren().FirstOrDefault(x => x.name == name); if (found == null) { Debug.LogWarning($"{binding.RelativePath} not found");