I am having problems with building master as of today and haven’t seen a bug report for it.
bug:
Setting up Unreal Engine 4 project files...
Binding IntelliSense data... 100%
Writing project files... 0%
UnrealBuildTool Exception: System.InvalidOperationException: There is an error in XML document (0, 0). ---> System.Xml.X
mlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlReader.MoveToContent()
at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read3_ArrayOfEnvVar()
--- End of inner exception stack trace ---
at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
at UnrealBuildTool.Utils.SetEnvironmentVariablesFromBatchFile(String BatchFileName) in d:\UE\Engine\Source\Programs\UnrealBuildTool\System\Utils.cs:line 246
at UnrealBuildTool.VCEnvironment..ctor(CPPTargetPlatform InPlatform) in d:\UE\Engine\Source\Programs\UnrealBuildTool\Windows\VCEnvironment.cs:line 73
at UnrealBuildTool.VCEnvironment.SetEnvironment(CPPTargetPlatform Platform) in d:\UE\Engine\Source\Programs\UnrealBuildTool\Windows\VCEnvironment.cs:line 48
at UnrealBuildTool.VCToolChain.GetVCIncludePaths(CPPTargetPlatform Platform) in d:\UE\Engine\Source\Programs\UnrealBuildTool\Windows\VCToolChain.cs:line 1677
at UnrealBuildTool.VCProjectFile.WriteProjectFile(List`1 InPlatforms, List`1 InConfigurations) in d:\UE\Engine\Source\Programs\UnrealBuildTool\System\VCProject.cs:line 336
at UnrealBuildTool.ProjectFileGenerator.WriteProjectFiles() in d:\UE\Engine\Source\Programs\UnrealBuildTool\System\ProjectFileGenerator.cs:line 2013
at UnrealBuildTool.ProjectFileGenerator.GenerateProjectFiles(String[] Arguments, Boolean& bSuccess) in d:\UE\Engine\Source\Programs\UnrealBuildTool\System\ProjectFileGenerator.cs:line 604
at UnrealBuildTool.UnrealBuildTool.GenerateProjectFiles(ProjectFileGenerator Generator, String[] Arguments) in d:\UE\Engine\Source\Programs\UnrealBuildTool\System\UnrealBuildTool.cs:line 1238
at UnrealBuildTool.UnrealBuildTool.Main(String[] Arguments) in d:\UE\Engine\Source\Programs\UnrealBuildTool\System\UnrealBuildTool.cs:line 1085
GenerateProjectFiles ERROR: UnrealBuildTool was unable to generate project files.
I also tried the following:
> git reset --hard epic/master
HEAD is now at 97e02a9 Cis fix, new stat: EKismetCompilerStats_RefreshDependentBlueprintsInReinstancer
> git pull epic master
Already up-to-date.