Converted UE4 Project to UE5, having trouble packaging a build... (Resolved)

First off I’ll start by saying that I’m a complete noob when it comes to traditional programming/coding. I have only been using Blueprint on my game I’ve spent the past 2+ years on. Any help is greatly appreciated.

I started making my game in UE4 and everything works just fine when packaging my builds with zero errors, but once I saved a copy of my project and converted it to UE5, I’m having some big issues with packaging a windows build. I came across a previous thread about needing to add a copy the “hostfxr.dll” file to the “C:\Program Files\Epic Games\UE_5.0EA\Engine\Binaries\DotNET\AutomationTool” and also “Install the .NET Core 3.1 Runtime” in order to package UE5 builds, but that is not my issue.

Something is getting hung up on something called the “KismetCompiler” and it looks like the path is set to a D:\ drive… Only problem is I don’t even have a D drive on my computer. I’m totally stuck and have no idea what to do and any help is greatly appreciated. Please let me know if you need any more info and I’ll be glad to provide. It seems to compile just fine until it gets to the following code in red in the output log:

UATHelper: Packaging (Windows): LogOutputDevice: Warning:
UATHelper: Packaging (Windows): Script Stack (0 frames):
UATHelper: Packaging (Windows): LogWindows: Error: begin: stack for UAT
UATHelper: Packaging (Windows): LogWindows: Error: === Critical error: ===
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: Assertion failed: OutputPin->LinkedTo.Num() > 0 [File:D:\build++UE5\Sync\Engine\Source\Editor\KismetCompiler\Private\KismetCompiler.cpp] [Line: 323]
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffab09da09b UnrealEditor-KismetCompiler.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffab09ddf8d UnrealEditor-KismetCompiler.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffab81df918 UnrealEditor-Kismet.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffab81de223 UnrealEditor-Kismet.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffad85d7660 UnrealEditor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffad87f0a57 UnrealEditor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffad87ef5a4 UnrealEditor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffad87f0f0b UnrealEditor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffad8833d5d UnrealEditor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffad89f91d7 UnrealEditor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffad89f7c0a UnrealEditor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffad89f8160 UnrealEditor-CoreUObject.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffac2d30a53 UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: begin: stack for UAT
PackagingResults: Error: === Critical error: ===
PackagingResults: Error: Assertion failed: OutputPin->LinkedTo.Num() > 0 [File:D:\build++UE5\Sync\Engine\Source\Editor\KismetCompiler\Private\KismetCompiler.cpp] [Line: 323]
PackagingResults: Error: [Callstack] 0x00007ffab09da09b UnrealEditor-KismetCompiler.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffab09ddf8d UnrealEditor-KismetCompiler.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffab81df918 UnrealEditor-Kismet.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffab81de223 UnrealEditor-Kismet.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffad85d7660 UnrealEditor-CoreUObject.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffad87f0a57 UnrealEditor-CoreUObject.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffad87ef5a4 UnrealEditor-CoreUObject.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffad87f0f0b UnrealEditor-CoreUObject.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffad8833d5d UnrealEditor-CoreUObject.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffad89f91d7 UnrealEditor-CoreUObject.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffad89f7c0a UnrealEditor-CoreUObject.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffad89f8160 UnrealEditor-CoreUObject.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffac2d30a53 UnrealEditor-UnrealEd.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffac2d30cdf UnrealEditor-UnrealEd.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffac2d49c5a UnrealEditor-UnrealEd.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffac2d6f537 UnrealEditor-UnrealEd.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffac2b7b26d UnrealEditor-UnrealEd.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffac2b9cc0c UnrealEditor-UnrealEd.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff63ee8948e UnrealEditor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff63ee80bbd UnrealEditor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff63ee80e8a UnrealEditor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff63ee83c4d UnrealEditor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff63ee95534 UnrealEditor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ff63ee97842 UnrealEditor-Cmd.exe!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb33257034 KERNEL32.DLL!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error: [Callstack] 0x00007ffb335e2651 ntdll.dll!UnknownFunction []
UATHelper: Packaging (Windows): LogWindows: Error:
UATHelper: Packaging (Windows): LogWindows: Error: end: stack for UAT
PackagingResults: Error: [Callstack] 0x00007ffac2d30cdf UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffac2d49c5a UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffac2d6f537 UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffac2b7b26d UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffac2b9cc0c UnrealEditor-UnrealEd.dll!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff63ee8948e UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff63ee80bbd UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff63ee80e8a UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff63ee83c4d UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff63ee95534 UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ff63ee97842 UnrealEditor-Cmd.exe!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffb33257034 KERNEL32.DLL!UnknownFunction []
PackagingResults: Error: [Callstack] 0x00007ffb335e2651 ntdll.dll!UnknownFunction []
PackagingResults: Error: end: stack for UAT
UATHelper: Packaging (Windows): Took 63.4159076s to run UnrealEditor-Cmd.exe, ExitCode=3
UATHelper: Packaging (Windows): ERROR: Cook failed.
UATHelper: Packaging (Windows): (see C:\Users\Matty\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE_5.0\Log.txt for full exception trace)
PackagingResults: Error: Cook failed.
UATHelper: Packaging (Windows): AutomationTool executed for 0h 1m 4s
UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
UATHelper: Packaging (Windows): Updating environment variables set by a Turnkey sub-process
UATHelper: Packaging (Windows): The system cannot find the path specified.
UATHelper: Packaging (Windows): The system cannot find the path specified.

I just solved it. Going to leave this one up in case someone else runs into this.

I had an issue with a Marketplace Asset “GoodSky”

Apparently this is not compatible with UE5 (not yet). You need to remove all uses of it from your project and delete the folder in your Content directory.

11 Likes

I was having the same issue but I do not use good sky. It happened to me because I had an event that was bound to another event but I used a re-route node in UE4 and disconnected the event but left it connected to the re-route node. This caused a crash throughout my project because that specific blueprint was a base blueprint used almost everywhere. If anyone runs into the issue and has questions feel free to ask. To fix it just remove the re-route node or make sure all re-route node are connected to something before migrating then just migrate the project again and it should work!

1 Like

Thanks for this, this has literally saved me countless of hours!