diff --git a/Scripts/Wolvenkit_FileValidation.wscript b/Scripts/Wolvenkit_FileValidation.wscript index b404687..9bb80e0 100644 --- a/Scripts/Wolvenkit_FileValidation.wscript +++ b/Scripts/Wolvenkit_FileValidation.wscript @@ -1471,7 +1471,7 @@ function validateMaterialKeyValuePair(key, materialValue, info, validateRecursiv const materialDepotPath = stringifyPotentialCName(materialValue.DepotPath); - if (hasUppercase(materialDepotPath) || isNumericHash(materialDepotPath)) { + if (!materialDepotPath || hasUppercase(materialDepotPath) || isNumericHash(materialDepotPath)) { return; }