UE 5.7 - Package Project for Windows fails

This has been driving me nuts for a while now - because Packaging my project used to work, and then it doesn’t. Based on various AI queries and web searches, I modified the VS installation to make sure I had all of the components needed (I did check these before and all seemed ok - as I said, I could package the project without error - so I’m not sure what’s causing it to fail so spectacularly now). Anyhow, I got to the point where the VS thing seemed out of control (too many installs, sdks, components and such), so I pulled it all back by uninstalling everything to do with VS and SDKs etc.

I then went about doing a fresh install of the bare essentials, as shown in the Epic guide here (and other resources):

Result: still didn’t work.

At one point I couldn’t even open my Project at all - I was prompted by a message saying it had to be rebuilt. That didn’t work. So, in my mind (being relatively new to UE) I had now lost all of the work I did on that Project. As it happens, I did copy the Project folder a few days before, great, but I did lose everything I did since then. That resulted in me making a new Project. Nb. Since then I’m using Diversion for revision control.

Anyhow, now I’m back to the same issues as before - the Project doesn’t package anymore :confused: and I have no idea why. The log file shows the errors in red, yeah, I get that, and searching for answers on how to fix things has been frustrating. So here I am… hopefully someone can shed some light on this - I’m sure many others are able to successfully package a Windows project in Win11 Pro right??

Below is the errors I see when I attempt a “Package Project”:

[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: === Handled ensure: ===
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: Ensure condition failed: BuildTargetInfo [File:D:\build++UE5\Sync\Engine\Source\Editor\TurnkeySupport\Private\TurnkeySupportModule.cpp] [Line: 447]
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: CookOrPackage BuildTargetName=‘’ IniPlatformName=‘Windows’ Mode=‘1’ BuildCookRunParams='-nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“E:/Unreal Projects/AssetPack1_working/AssetPack1.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.7\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -SkipCookingErrorSummary -JsonStdOut 'where BuildTargetInfo is null and architecture ‘x64’ is specified. One way to do this is to add c++ code to a project, but not build the project editor, then package. Retur
ning without cook or package instead of asserting.
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: Stack:
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffb59997772 UnrealEditor-TurnkeySupport.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffb59958bd3 UnrealEditor-TurnkeySupport.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffb5997a4f0 UnrealEditor-TurnkeySupport.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffb59960dd7 UnrealEditor-TurnkeySupport.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbd2843771 UnrealEditor-Slate.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbd2846c70 UnrealEditor-Slate.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbd2820a6a UnrealEditor-Slate.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbd2985b4b UnrealEditor-Slate.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbd29c0dd6 UnrealEditor-Slate.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbd2848059 UnrealEditor-Slate.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbd26aff59 UnrealEditor-Slate.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbd26f91a9 UnrealEditor-Slate.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbd26ebd6a UnrealEditor-Slate.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbd26e33f9 UnrealEditor-Slate.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbfbbeea86 UnrealEditor-ApplicationCore.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbfbbd683a UnrealEditor-ApplicationCore.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbfbbf1ecf UnrealEditor-ApplicationCore.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbfbbd00e1 UnrealEditor-ApplicationCore.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffc49e06b46 USER32.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffc49e0459d USER32.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ffbfbc14a29 UnrealEditor-ApplicationCore.dll!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ff619a147d9 UnrealEditor.exe!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ff619a30bfe UnrealEditor.exe!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ff619a30d0a UnrealEditor.exe!UnknownFunction
[2026.04.14-18.23.43:363][283]LogOutputDevice: Error: [Callstack] 0x00007ff619a34590 UnrealEditor.exe!UnknownFunction
[2026.04.14-18.23.43:365][283]LogOutputDevice: Error: [Callstack] 0x00007ff619a45be4 UnrealEditor.exe!UnknownFunction
[2026.04.14-18.23.43:365][283]LogOutputDevice: Error: [Callstack] 0x00007ff619a48f9a UnrealEditor.exe!UnknownFunction
[2026.04.14-18.23.43:365][283]LogOutputDevice: Error: [Callstack] 0x00007ffc4a7ce8d7 KERNEL32.DLL!UnknownFunction
[2026.04.14-18.23.43:365][283]LogOutputDevice: Error: [Callstack] 0x00007ffc4bb8c40c ntdll.dll!UnknownFunction

If I can provide more info that’s essential to working this out, please let me know.

Thanks in advance! :slight_smile:

Note: the error message indicates a D: drive - I don’t have a D drive :confused:

I have two drives: C and E

My Unreal folder, as shown in the error log, is on the E: drive.

I just remembered something that might be good to know:

I added a blank C++ class (I read somewhere that’s what I had to do to get VS to rebuild the first project I made - the one UE wouldn’t open anymore and doing some research led me to that conclusion).

Didn’t work :man_facepalming:

I mention this because I just saw the error that says “…BuildTargetInfo is null and architecture ‘x64’ is specified. One way to do this is to add c++ code to a project, but not build the project editor, then package. Returning without cook or package instead of asserting.“

I don’t understand the later part of that error :confused: i.e. “Returning without cook or package instead of asserting