Packaging INSTANTLY Completes. (Any Platform)

Packaging just “Completes” with no error messages, no output logs, no context, no nothing. This happens when trying to package to any platform. Watch the video below to see what i mean…

You posted your question on reddit but it wasn’t answered here.
If someone else has a similar problem try scanning your computer with Malwerbytes or Windows Defender or any other antivirus software.

For me Malwarebytes found 2 Crypto miners and 2 other malwares. Sooo, thank you Unreal? xD
After removing threats everything worked fine.

If this isn’t working try to “Verify” Unreal Engine files. You can do this by going to the launcher > Unreal Engine > Library > Drop down menu next to Launch button > Verify


So i had this problem too. I created an account just to hopefully help someone else out.

Spent about 5-6 hours just attempting to research this issue but nobody can seem to find the answer.

Here is the most likely cause to your problem.

The package manager uses CMD.exe to complete the package, if that connection to CMD.exe is not possible then it will show no output, and instant complete your package without writing any data.

So the first question you need to answer:
If you open up cmd.exe in your search bar and run it, does it open up correctly? Or does it instantly close?
If access to your cmd.exe is not working, than the package wont complete.
CMD may be experience issues- resolve this by running the following commands in Powershell (since CMD isnt working)
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth

Another issue that needs to be resolved is CMD may have a registry edit to Auto close(my issue and most likely your issue too)
Resolve this:
Run regedit
Go to HKLM\Software\Microsoft\Command Processor\ or HKEY_CURRENT_USER\Software\Microsoft\Command Processor\ or HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\

For some reason there was AUTORUN key with “EXIT” inside.

Remove the AutoRun key and everything should went back to normal.
CMD.exe should start to work again.

Second fix:
Create a new local windows user with admin rights and no password, and run the packager there, that should work.

in my case, the failed attempt to build project with wrong UE version through cmd somehow made RunUAT.bat empty in the correct engine version.

I had replaced RunUAT.bat from GitHub engine source and build started.

how did you this?