FAQ: Can’t build Unreal’s Automation Tool (UAT)?
When installing Unreal Engine from Epic Game’s launcher or compiling from source - eventually you may need to add additional changes or fixes to the engine. An example is the UGC example project, which requires re-compiling the Unreal Automation Tool (UAT) with new commands.
🔴 CS2012: Cannot open file for writing -- 'Access to the path is denied’
One of the issues we encountered when using or compiling new software on Windows, are the file and folder permissions. When you try to modify or built UAT, an error gets thrown saying “Access to file or path is denied”. The solution is to change the file attributes to Read-&-Write:
- Open file explorer and navigate to your installation of Unreal
- Most likely in
C:\Program Files (x86)\Epic Games\UE_4.26\
- Most likely in
- In your Unreal installation, find the
Programs
folder inEngine\Source\
- Right-Click on the
Programs
folder - In the context menu, select properties
- In Attributes, un-select the
Read-only
option - Finally, select
Apply
to change files, folders and sub-folder
- Right-Click on the
- We recommend you also apply the same attributes in your entire Unreal Engine folder
Warning
Please make sure you have enough privileges to be able to change the read-only attribute in your Unreal Engine installation folder.