# Unreal engine 5 packaging for windows fail

**URL:** <https://forums.unrealengine.com/t/unreal-engine-5-packaging-for-windows-fail/780669>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, crash, question\
**Created:** [February 28, 2023, 7:06pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-packaging-for-windows-fail/780669 "2023-02-28T19:06:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![YimingPan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YimingPan](https://forums.unrealengine.com/u/YimingPan)\
**Post date:** [February 28, 2023, 7:06pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-packaging-for-windows-fail/780669/1 "2023-02-28T19:06:40Z")

</div>

UATHelper: Packaging (Windows): LogWindows: Error: === Critical error: ===  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error: Assertion failed: File != nullptr [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Misc\KeyChainUtilities.h] [Line: 153]  
UATHelper: Packaging (Windows): LogWindows: Error: Specified crypto keys cache ‘C:\Users\BuildMachine(VR2’ does not exist!  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffc1d7c35e5 UnrealPak-PakFileUtilities.dll!KeyChainUtilities::LoadKeyChainFromFile() []  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffc1d7c261b UnrealPak-PakFileUtilities.dll!LoadKeyChain() []  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffc1d7b3530 UnrealPak-PakFileUtilities.dll!ExecuteUnrealPak() []  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff7c7d0be27 UnrealPak.exe!wmain() []  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff7c7d0ce2c UnrealPak.exe!\_\_scrt\_common\_main\_seh() []  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffcf96826bd KERNEL32.DLL!UnknownFunction []  
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffcfa1edfb8 ntdll.dll!UnknownFunction []  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error:  
UATHelper: Packaging (Windows): LogWindows: Error:

---

<div class="post-metadata">

**Author:** ![EliasWick](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/eliaswick/32/1175208_2.png) [@EliasWick](https://forums.unrealengine.com/u/EliasWick)\
**Post date:** [February 28, 2023, 9:47pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-packaging-for-windows-fail/780669/2 "2023-02-28T21:47:37Z")

</div>

This error message indicates that there is an issue with the crypto keys cache when trying to package a game with UnrealPak. Specifically, it seems that the cache directory specified in the command line arguments does not exist.

To resolve this issue, you should try:

- Double-check that the specified crypto keys cache directory exists and is spelled correctly.
- If the directory does not exist, create it manually and try again.
- If the issue persists, try deleting any existing cache directories and creating a new one.
- Check that you are using the latest version of Unreal Engine and that your project settings are configured correctly for packaging.

---

<div class="post-metadata">

**Author:** ![YimingPan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YimingPan](https://forums.unrealengine.com/u/YimingPan)\
**Post date:** [March 1, 2023, 3:38pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-packaging-for-windows-fail/780669/3 "2023-03-01T15:38:53Z")

</div>

I managed to solve this problem with warhulk1745’s solution from here : [Specified crypto keys cache does not exist!](https://forums.unrealengine.com/t/specified-crypto-keys-cache-does-not-exist/463583).  
Basically there are parentheses in the username as shown here `Specified crypto keys cache ‘C:\Users\BuildMachine(VR2’ does not exist!`. So I moved the project files and problem solved

---

<div class="post-metadata">

**Author:** ![YimingPan](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@YimingPan](https://forums.unrealengine.com/u/YimingPan)\
**Post date:** [March 1, 2023, 3:52pm UTC](https://forums.unrealengine.com/t/unreal-engine-5-packaging-for-windows-fail/780669/4 "2023-03-01T15:52:28Z")

</div>

Thank you for responding, it leads me to googling what crypto keys cache is and found the solution
