PackagingResults: Error: Unknown Cook Failure

The error appears exactly here. You are trying to access a array you use in the project, but there are not so many elements in the array.

[2020.03.05-08.39.59:141][472]UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: begin: stack for UAT
[2020.03.05-08.39.59:141][472]UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: === Critical error: ===
[2020.03.05-08.39.59:141][472]UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error:
[2020.03.05-08.39.59:144][472]UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\Build\++UE4\Sync\Engine\Source\Runtime\Core\Public\Containers/Array.h] [Line: 614]
[2020.03.05-08.39.59:144][472]PackagingResults: Error: begin: stack for UAT
[2020.03.05-08.39.59:144][472]UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error: Array index out of bounds: 2 from an array of size 1
[2020.03.05-08.39.59:144][472]UATHelper: Packaging (Windows (64-bit)):   LogWindows: Error:
[2020.03.05-08.39.59:144][472]UATHelper: [Callstack] 0x00007ff94264676e UE4Editor-ClothingSystemRuntimeCommon.dll!UnknownFunction []