Packaging contents with UnrealPak for UE 5.1 game

So I’ve been trying to package a few game folders into a .pak file using UnrealPak from UE 5.1 and keep encountering the same error, the game was made using UE 5.1 so It’s definitely the correct version. I’m using a text file pointing to the folders I want to pack also, if anyone has an idea on how to fix this it would be appreciated, I’ll leave the error message as well as the command I used.

COMMAND:

“Epic Games\UE_5.1\Engine\Binaries\Win64\UnrealPak.exe” C:\Users\User\Downloads\Export\DoubleClutch-WindowsNoEditor.pak -Create=C:\Users\User\Desktop\3s\dataToPack.txt

ERROR MESSAGE:

LogWindows: Error: appError called: Assertion failed: Pair.Info.IsDeleteRecord() || Pair.Info.IndexDataEquals(EncodedEntry) [File:D:\build++UE5\Sync\Engine\Source\Developer\PakFileUtilities\Private\PakFileUtilities.cpp] [Line: 1996]

LogWindows: Error: === Critical error: ===
LogWindows: Error:
LogWindows: Error: Assertion failed: Pair.Info.IsDeleteRecord() || Pair.Info.IndexDataEquals(EncodedEntry) [File:D:\build++UE5\Sync\Engine\Source\Developer\PakFileUtilities\Private\PakFileUtilities.cpp] [Line: 1996]
LogWindows: Error:
LogWindows: Error: [Callstack] 0x00007ffbe0eb70f4 UnrealPak-PakFileUtilities.dll!VerifyIndexesMatch()
LogWindows: Error: [Callstack] 0x00007ffbe0eb776a UnrealPak-PakFileUtilities.dll!WritePakFooter()
LogWindows: Error: [Callstack] 0x00007ffbe0e9a875 UnrealPak-PakFileUtilities.dll!FPakWriterContext::Flush()
LogWindows: Error: [Callstack] 0x00007ffbe0e9747d UnrealPak-PakFileUtilities.dll!ExecuteUnrealPak()
LogWindows: Error: [Callstack] 0x00007ff68d91be27 UnrealPak.exe!wmain()
LogWindows: Error: [Callstack] 0x00007ff68d91ce2c UnrealPak.exe!__scrt_common_main_seh()
LogWindows: Error: [Callstack] 0x00007ffc256b7344 KERNEL32.DLL!UnknownFunction
LogWindows: Error: [Callstack] 0x00007ffc25e026b1 ntdll.dll!UnknownFunction


aCapture

Same problem! You should keep all files under the “PAK FOLDER” have unique name.