Packaging project Fails > Access denied

I regularly package and build my projects for windows(64) to check for any problems.
This has always worked for me just fine until today. Now if I package or cook anything I get: Running AutomationTool...>Access denied>BUILD FAILED (full error log attached)

I can not find any particular thing I’ve changed which might have caused this problem.
This happened while working on blueprints (All projects I have tried are blueprint only).
I have the same problem on all engine versions currently installed(4.17.2, 4.18.3, 4.19.1), on all custom or brand new template projects (first person template without change for instance)

So far I have tried:

  • Reinstall unreal engine 4
  • Deleting of project files : “Saved” and “Intermediate” folder on current project
  • Updating to latest engine version
  • Setting all package supported platforms to only “Desktop” or “Windows” or both.

Made sure all files below have read only turned off:

  • \AppData\Local\EpicGamesLauncher\
  • \AppData\Local\UnrealEngine\
  • \AppData\Local\UnrealEngineLauncher\
  • \AppData\Roaming\Unreal Engine\

Other info:

  • Windows 7 x86 (Admin)
  • No Source control
  • Projects compile and run in editor succesfully
  • AV Turned off

I have not found a solution to this problem or even pinpointed what causes it.
Because I encounter this error for all projects and all engine versions, I wonder if my epic account might be the cause yet this is not clear.

I’m hoping that there is someone out there who might have a solution.

Bump, I have not yet found a solution.

Have you tried changing the build directory to another HDD?
It looks like you’ve just built into the project directory. This may give some more insight.

Thanks for your reply. I’ve tried building on different HDD without success. Because the output log shows Running AutomationTool... first, then immediately after Access denied. And if I package a new project in a empty directory it’s the same. This makes me think it’s something with the editor or engine itself. I’m not sure though.

Bump again

Bump, still not found a solution.

I cannot spot why the error might be occurring if it used to package successfully before and suddenly not anymore. I would suggest reinstalling/repairing. DotNet, VC++, DxDiag etc. Also, if you have any antivirus on, try turning it off while packaging. That might be causing the access denied error.

Thx for your suggestions, I’l have a look and see if this solves the problem