UE5.1.1 Critical error occurs when using unrealpak
ChEnYoNgB opened this issue · 0 comments
unreal version :5.1.1
Use the following command
F:\UE4\UE_5.1\Engine\Binaries\Win64\UnrealPak.exe "D:\Test\MetaHumanCreate\MetaHuman.pak" -create="D:\Test\MetaHumanCreate\dataToPak.txt"
dataToPak.txt
"D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\Utility\*" "../../../Engine/Functions/Engine_MaterialFunctions02/Utility" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\SmoothStep.uasset" "../../../Engine/Functions/Engine_MaterialFunctions02" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\SmoothStep.uexp" "../../../Engine/Functions/Engine_MaterialFunctions02" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\Masking\*" "../../../Engine/Functions/Engine_MaterialFunctions02/Masking" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\EngineVolumetrics\Fogsheet\Materials\T_EV_BlankWhite_01.uasset" "../../../Engine/EngineVolumetrics/Fogsheet/Materials" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\EngineVolumetrics\Fogsheet\Materials\T_EV_BlankWhite_01.uexp" "../../../Engine/EngineVolumetrics/Fogsheet/Materials" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\TangentBasis.uasset" "../../../Engine/Functions/Engine_MaterialFunctions02" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\TangentBasis.uexp" "../../../Engine/Functions/Engine_MaterialFunctions02" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\Math\*" "../../../Engine/Functions/Engine_MaterialFunctions02/Math" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\Lerp_3Color.uasset" "../../../Engine/Functions/Engine_MaterialFunctions02" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\Lerp_3Color.uexp" "../../../Engine/Functions/Engine_MaterialFunctions02" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions01\Texturing\*" "../../../Engine/Functions/Engine_MaterialFunctions01/Texturing" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions03\Blends\*" "../../../Engine/Functions/Engine_MaterialFunctions03/Blends" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\Lerp_Multiple_Float.uasset" "../../../Engine/Functions/Engine_MaterialFunctions02" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions02\Lerp_Multiple_Float.uexp" "../../../Engine/Functions/Engine_MaterialFunctions02" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\Engine\Content\Functions\Engine_MaterialFunctions01\Shading\*" "../../../Engine/Functions/Engine_MaterialFunctions01/Shading" "D:\Test\MetaHumanCreate\Saved\Cooked\Windows\MetaHumanCreate\Content\MetaHumans\*" "../../../Content/MetaHumans"
Get the following error
`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] 0x00007ffe426170f4 UnrealPak-PakFileUtilities.dll!VerifyIndexesMatch() []
LogWindows: Error: [Callstack] 0x00007ffe4261776a UnrealPak-PakFileUtilities.dll!WritePakFooter() []
LogWindows: Error: [Callstack] 0x00007ffe425fa875 UnrealPak-PakFileUtilities.dll!FPakWriterContext::Flush() []
LogWindows: Error: [Callstack] 0x00007ffe425f747d UnrealPak-PakFileUtilities.dll!ExecuteUnrealPak() []
LogWindows: Error: [Callstack] 0x00007ff60725be27 UnrealPak.exe!wmain() []
LogWindows: Error: [Callstack] 0x00007ff60725ce2c UnrealPak.exe!__scrt_common_main_seh() []
LogWindows: Error: [Callstack] 0x00007ffeddd9257d KERNEL32.DLL!UnknownFunction []
LogWindows: Error: [Callstack] 0x00007ffedec8aa48 ntdll.dll!UnknownFunction []`
If I list the files in it one by one instead of using the folder path, the error seems to disappear?