Can't create new C++ project: access denied

chris.nolet
Wed, 25 May 2016 07:51:45 +0000
C++

I’m trying to create a new C++ project, from a clean install of UE 4.11.2, with the latest version of Visual Studio Community 2015 installed.

I keep receiving the error: UnrealBuildTool Exception: Access to path BuildConfiguration.Schema.xsd is denied. I get the same error if I try to add a C++ class to an existing Blueprints project, too. Any ideas what could be wrong?

An error occurred while trying to generate project files.

Running C:/Program Files/Epic Games/4.11/Engine/Binaries/DotNET/UnrealBuildTool.exe  -projectfiles -project="C:/Projects/Example/Example.uproject" -game -progress -2015
UnrealBuildTool Exception: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Epic Games\4.11\Engine\Saved\UnrealBuildTool\BuildConfiguration.Schema.xsd' is denied.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   at UnrealBuildTool.XmlConfigLoader.OverwriteIfDifferent(String FilePath, String Content, Boolean bReadOnlyFile)
   at UnrealBuildTool.XmlConfigLoader.Init()
   at UnrealBuildTool.UnrealBuildTool.InitConfigurationClasses(String[] Arguments)
   at UnrealBuildTool.UnrealBuildTool.Main(String[] Arguments)

4 posts - 1 participant