Hello,
I am having an issue with a test workspace I am setting up through Perforce. Currently, I have two workspaces:
- The original/main workspace that has the engine and the game project.
- A test workspace that has the latest revision from the repository.
In UnrealGameSync, the project/engine from the original main repository is able to compile and build the editor successfully. (I have posted the logs for the successful build.)
For the test repository, after I had gotten the latest changes/revision, I attempted to run UnrealGameSync for this new repo, but it fails to generate Unreal Engine 4 projectiles with the error - ERROR: UnrealBuildTool Failed to compile, with additional info -
“C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targe
ts(4206,5): error MSB3021: Unable to copy file “obj\Development\DotNETUtilities.dll” to “…......\Binaries\DotNET\Do
tNETUtilities.dll”. Access to the path ‘…......\Binaries\DotNET\DotNETUtilities.dll’ is denied. [E:\DevinRepo\Engin
e\Source\Programs\DotNETCommon\DotNETUtilities\DotNETUtilities.csproj]”
The next thing I tried was, in the test repository, to run the Setup.bat and the GenerateProjectFiles.bat. The Setup.bat does its thing and downloaded/installed the pre-requisites, but after when I run GenerateProjectileFiles.bat, I get the error described above.
I thought maybe it was a permissions issue, so I ensured that permissions were set correctly in this directory and the directory where visual studio is installed. Just in case you need the info -
“E:\DevinRepo” - test repository
“E:\MainRepo” - main repository
“C:\Program Files (x86)\Microsoft Visual Studio\2019\Community” - Visual Studio
I have no idea as to why access to that path is denied when attempting to build and compile with one repository, but its successful with another. Can anybody shed some light on this? Thank you in advance.