UnrealBuildTool has stopped working, this error shows 4 times then the editor opens but my problem si when i try to right click on .uproject generate Visual Studio Project Files, then it shows this error and it closes does nothing.
I have this error from preview version when the 4.4.0 launched. If I try 4.3 … it is ok.
detailed erro when I click debug:
Failed to generate project files:
Unhandled Exception: System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace)
at System.Xml.XmlDocument.Load(XmlReader reader)
at System.Xml.XmlDocument.Load(String filename)
at UnrealBuildTool.XmlConfigLoader.Load(String ConfigurationXmlPath)
at UnrealBuildTool.XmlConfigLoader.LoadData()
at UnrealBuildTool.XmlConfigLoader.Init()
at UnrealBuildTool.UnrealBuildTool.Main(String[] Arguments)
If you need more details or even remote connection then let me know.
Are you using the binary version of the Engine installed by the Launcher, or did you build the Engine from source code? If you create a new project from one of the templates, do you see the same error?
It looks like one of your XML configuration files is formatted badly.
Do you have a BuildConfiguration.xml file in My Documents/Unreal Engine/UnrealBuildTool? Can you rename it to something else and try building project files again?
If you don’t have such a file, could you try repairing your installation from the launcher?
Sorry but that didn’t work :(, I removed and it regenerated the xml file but still gives the error.Also reinstalled the version 4.4.1 on 4.3 it works fine. I also attached the error message that is recorded in windows logs, hope this helps.
[link text][1]
(Your user folder)/AppData/Unreal Engine/UnrealBuildTool
(Your user folder)/My Documents/Unreal Engine/UnrealBuildTool
For what it’s worth, I’ve fixed this throwing an exception in our main branch. I can probably back-port it to the 4.4 build and issue a QFE for you if the steps above don’t work.
Not this is how it needs to be done on some systems: 1. Delete the xml build configuration from all the folders Instalation directory Programs and Saved then from appDataRoaming/UnrealEngine/UnrealBuildTool then restart the PC . Then go tu UE and open it solved the problem without restart it’s not working.
Yeah, your BuildConfiguration.xml from AppData/Roaming is definitely broken (at least the one you’ve sent). It looks like just a couple of NULL characters. It may be a bad write on you HDD or sth. Could you verify if the new one is with some XML format?
Is this problem still happening? Or after deletions and restarts its fine now?