diff --git a/Legacy/Unison/ArcVCT.cs b/Legacy/Unison/ArcVCT.cs index 10f3ce39..103ccf9f 100644 --- a/Legacy/Unison/ArcVCT.cs +++ b/Legacy/Unison/ArcVCT.cs @@ -60,6 +60,8 @@ namespace GameRes.Formats.Unison for (int i = 0; i < count; ++i) { string name = file.View.ReadString (index_offset, 0x14).TrimEnd(); + if (string.IsNullOrWhiteSpace (name)) + return null; string ext = file.View.ReadString (index_offset+0x14, 3); if (!string.IsNullOrWhiteSpace (ext)) name += '.' + ext;