diff --git a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapEditorBase.cs b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapEditorBase.cs index b91a57190..169e13a5a 100644 --- a/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapEditorBase.cs +++ b/Assets/UniGLTF/Editor/UniGLTF/ScriptedImporter/RemapEditorBase.cs @@ -81,7 +81,7 @@ namespace UniGLTF { foreach (var key in m_keys) { - if (k.type.IsAssignableFrom(key.Type)) + if (k.type != null && k.type.IsAssignableFrom(key.Type)) { return false; }