Packaging is being a pain in the ***

I’m using UE 4.25 and have tried several times with different settings and nothing seems to work. The packaging process always crashes and it seems to have the same errors.

Message/Log:

Two error messages from log:

  • UATHelper: Packaging (Windows (64-bit)): ERROR: Stage Failed. Missing receipt ‘D:\Unreal Projects
    project\Binaries\Win64\project.target’. Check that this target has been built.

  • PackagingResults: Error: Missing UE4Game binary.You may have to build the UE4 project with your IDE. Alternatively, build using UnrealBuildTool with the commandline:UE4Game

Nevermind, got it fixed by duplicating the project (for a backup) and then deleting every project folder except the config, content, plugins, and source folders. I then let the engine rebuild everything it needed and packaged it successfully afterwards. Hope this helps!