Summary
Fails to cook/package new Blueprints only project.
This worked fine in version 5.7.4 (clean BP project, package).
What Type of Bug are you experiencing?
Platform Other
Steps to Reproduce
- Create a fresh, clean Blueprint-only project in 5.8.1 (not an upgrade).
- Attempt to cook/package the project (in this case for Win x64)
Expected Result
Editor asks for package location then builds the package
Observed Result
Editor error message dialogue popup containing the “Ensure condition failed: BuildTargetInfo” error (see call stack).
Affects Versions
5.8
Platform(s)
Windows
For crash reports, include your callstack
Ensure condition failed: BuildTargetInfo [File:D:\build++UE5\Sync\Engine\Source\Editor\TurnkeySupport\Private\TurnkeySupportModule.cpp] [Line: 442]
CookOrPackage BuildTargetName=‘’ IniPlatformName=‘Windows’ Mode=‘1’ BuildCookRunParams='-nop4 -utf8output -nocompileeditor -skipbuildeditor -cook -project=“D:/Development/Source/Unreal Engine/MyProject/MyProject.uproject” -unrealexe=“C:\Program Files\Epic Games\UE_5.8\Engine\Binaries\Win64\UnrealEditor-Cmd.exe” -platform=Win64 -installed -zenstore -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. Returning without cook or package instead of asserting.
Stack:
0x00007fff545647f2 UnrealEditor-TurnkeySupport.dll!UnknownFunction
0x00007fff54529dba UnrealEditor-TurnkeySupport.dll!UnknownFunction
0x00007fff545492d2 UnrealEditor-TurnkeySupport.dll!UnknownFunction
0x00007fff5452e437 UnrealEditor-TurnkeySupport.dll!UnknownFunction
0x00007fff7e665760 UnrealEditor-Slate.dll!UnknownFunction
0x00007fff7e668c00 UnrealEditor-Slate.dll!UnknownFunction
0x00007fff7e64108a UnrealEditor-Slate.dll!UnknownFunction
0x00007fff7e7a4d2b UnrealEditor-Slate.dll!UnknownFunction
0x00007fff7e7e2883 UnrealEditor-Slate.dll!UnknownFunction
0x00007fff7e66a019 UnrealEditor-Slate.dll!UnknownFunction
0x00007fff7e4d1a6a UnrealEditor-Slate.dll!UnknownFunction
0x00007fff7e51a73e UnrealEditor-Slate.dll!UnknownFunction
0x00007fff7e50c9ff UnrealEditor-Slate.dll!UnknownFunction
0x00007fff7e50451e UnrealEditor-Slate.dll!UnknownFunction
0x00007ff819803323 UnrealEditor-ApplicationCore.dll!UnknownFunction
0x00007ff8197ee9ea UnrealEditor-ApplicationCore.dll!UnknownFunction
0x00007ff8198068e1 UnrealEditor-ApplicationCore.dll!UnknownFunction
0x00007ff8197eac61 UnrealEditor-ApplicationCore.dll!UnknownFunction
0x00007ff84388c366 USER32.dll!UnknownFunction
0x00007ff84388a7bd USER32.dll!UnknownFunction
0x00007ff819837279 UnrealEditor-ApplicationCore.dll!UnknownFunction
0x00007ff6946d2175 UnrealEditor.exe!UnknownFunction
0x00007ff6946bc4ac UnrealEditor.exe!UnknownFunction
0x00007ff6946bc5ba UnrealEditor.exe!UnknownFunction
0x00007ff6946c1256 UnrealEditor.exe!UnknownFunction
0x00007ff6946d5c74 UnrealEditor.exe!UnknownFunction
0x00007ff6946d902a UnrealEditor.exe!UnknownFunction
0x00007ff843b7ccb7 KERNEL32.DLL!UnknownFunction
0x00007ff844fead6c ntdll.dll!UnknownFunction
Additional Notes
A workaround is to add a C++ class and build in the IDE - but this shouldn’t be required as should still package as a BP-only project.