Dear Friends at Epic,
Sometimes I will accidentally click “rebuild” instead of build
in all betas I’ve tested, this results in the following behavior
future attempts to use build or rebuild fail with a msg similar to this
1>------ Build started: Project: VictoryGame, Configuration: Development_Editor x64 ------
1>EXEC : error : System.UnauthorizedAccessException: Access to the path 'E:\RocketVictory\VictoryGame\Intermediate\BuildData\Include\VictoryGame' is denied.
1> at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
1> at System.IO.FileSystemEnumerableIterator`1.CommonInit()
1> at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
1> at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOption searchOption)
1> at UnrealBuildTool.RulesCompiler.FindAllRulesFilesRecursively(DirectoryInfo DirInfo, RulesFileCache RulesFileCache)
1> at UnrealBuildTool.RulesCompiler.FindAllRulesFilesRecursively(DirectoryInfo DirInfo, RulesFileCache RulesFileCache)
1> at UnrealBuildTool.RulesCompiler.FindAllRulesFilesRecursively(DirectoryInfo DirInfo, RulesFileCache RulesFileCache)
1> at UnrealBuildTool.RulesCompiler.FindAllRulesFilesRecursively(DirectoryInfo DirInfo, RulesFileCache RulesFileCache)
1> at UnrealBuildTool.RulesCompiler.FindAllRulesFilesRecursively(DirectoryInfo DirInfo, RulesFileCache RulesFileCache)
1> at UnrealBuildTool.RulesCompiler.FindAllRulesSourceFiles(RulesFileType RulesFileType, List`1 AdditionalSearchPaths)
1> at UnrealBuildTool.RulesCompiler.ConditionallyCompileAndLoadRulesAssembly()
1> at UnrealBuildTool.RulesCompiler.CreateTargetRules(String TargetName, TargetInfo Target, Boolean bInEditorRecompile, String& TargetFileName)
1> at UnrealBuildTool.RulesCompiler.CreateTarget(String TargetName, TargetInfo Target, List`1 InAdditionalDefinitions, String InRemoteRoot, List`1 InOnlyModules, Boolean bInEditorRecompile)
1> at UnrealBuildTool.UEBuildTarget.CreateTarget(String[] SourceArguments)
1> at UnrealBuildTool.UnrealBuildTool.RunUBT(String[] Arguments)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command ""C:\Program Files\Rocket\Engine\Binaries\DotNET\UnrealBuildTool.exe" VictoryGameEditor Win64 Development "E:\RocketVictory\VictoryGame\VictoryGame.uproject" -rocket" exited with code 1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
#Solution
I have to log off of Windows 7 and log back on to correct this issue. Restarting VS is not enough.
#Request
Can you please figure out why “rebuild” causes all future builds and compiles to fail until logging off and back on?
Thanks!
Rama
