Using UE 5.4, I'm encountering a "Packaging Failed!" error for the first time & I don't understand what's wrong

Hey there,
So I’m currently trying to package a build but I’m getting an unknown error message that I don’t understand (the Log should be at the bottom of this post).

Recently, I wanted to look into reducing the file size of the packaged build so I followed a couple of steps in this video & so far I’ve done (from video start at 0:00 to 4:43):

  • Changed the binary configuration from “Development” to “Shipping”
  • Disabled the “OpenImageDenoise” plugin
  • I’ve confirmed that I “Use Pak File” is checked
  • I’ve also confirmed that “Share Material Shader Code” & “Shared Material Native Libraries” are checked as well
  • Additionally, “Create compressed cooked packages” is checked as well
  • I also have “Exclude editor content when cooking” unchecked
  • And I have “Full Rebuild” unchecked as well

Outside of that video, I’ve also tried:

  • I’m using Windows 10
  • Cooking the project first (which worked without a problem) & then trying to package the game (which FAILED)
  • Set my own Game Icon (but I don’t know how to add the old icon back again)
  • Made sure that I have the latest version of Visual Studio (and added the necessary plugins/modules) based on this tutorial
    • Despite that I get a yellow “PackagingResults: Warning: Visual Studio 2022 compiler is not a preferred version”
  • Gone into “Project Settings → Compiler Version” & set it to “Visual Studio 2022”
  • I’ve deleted “DerivedDataCache”, “Intermediate” & “Saved” folders & tried packaging after restarting the Editor but I get a fail
  • Changed from “Shipping” to “Development” to see if that worked but to no avail

Here’s the “Installation Details” for VS:


Here’s the Log:
UBA-BudgetAssassin-Win64-Shipping.txt (26.5 KB)

I’m reaching a point where I don’t really what else to think of since this is the first time I’m encountering something like this

Any advice is appreciated

Visual Studio should be fine. This is an internal UBT file error. Just reinstall Unreal Engine. The paths in the log report look a bit strange, but I don’t care.
If reinstalling doesn’t work, then it’s probably an MSVC incompatibility issue

1 Like

That… seem to work?
How did you know that?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.