From 935a5fdf914325342c814e6fc7a091725bb6ebb7 Mon Sep 17 00:00:00 2001 From: Emiliana <38952746+emilianavt@users.noreply.github.com> Date: Wed, 1 Jul 2020 01:14:52 +0200 Subject: [PATCH] Small fix --- Examples/OpenSeeVRMDriver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/OpenSeeVRMDriver.cs b/Examples/OpenSeeVRMDriver.cs index c83ae2e..15b94e4 100644 --- a/Examples/OpenSeeVRMDriver.cs +++ b/Examples/OpenSeeVRMDriver.cs @@ -526,7 +526,7 @@ public class OpenSeeVRMDriver : MonoBehaviour { string foundClipUp = null; string foundClipDown = null; foreach (BlendShapeClip clip in vrmBlendShapeProxy.BlendShapeAvatar.Clips) { - if (clip.Preset == BlendShapePreset.Unknown) { + if (clip.Preset == BlendShapePreset.Unknown && clip.BlendShapeName != null) { if (clip.BlendShapeName.ToUpper() == "BROWS UP") foundClipUp = clip.BlendShapeName; if (clip.BlendShapeName.ToUpper() == "BROWS DOWN")