From ba83d65018995907d879f71ca385082493091376 Mon Sep 17 00:00:00 2001 From: ousttrue Date: Thu, 14 Jul 2022 15:53:14 +0900 Subject: [PATCH] null check --- Assets/VRM/Runtime/IO/VRMExporter.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Assets/VRM/Runtime/IO/VRMExporter.cs b/Assets/VRM/Runtime/IO/VRMExporter.cs index 77219d00b..1b5c06422 100644 --- a/Assets/VRM/Runtime/IO/VRMExporter.cs +++ b/Assets/VRM/Runtime/IO/VRMExporter.cs @@ -97,6 +97,10 @@ namespace VRM { foreach (var x in avatar.Clips) { + if (x == null) + { + continue; + } VRM.blendShapeMaster.Add(x, this); } }