It occurs the same time every time I rebuild, right after I have chosen the correct BSP files and said yes to the new offset. No other errors appear before it, nor does anything look wrong. I am quite experienced with PMI, so I don't think it's me.
Note that it doesn't happen every time, only since I put in some new stuff. I have no idea what is causing it and I have never seen this dialogue box before:
Here is the exception text if it helps.
Code: Select all
************** Exception Text **************
System.Xml.XmlException: The root element is missing.
at System.Xml.XmlTextReader.Read()
at System.Xml.XmlValidatingReader.ReadWithCollectTextToken()
at System.Xml.XmlValidatingReader.Read()
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 HaloSoundTools.MapBuilder.ProcessFile(META_FILE_STRUCT& mFile)
at HaloSoundTools.MapBuilder.ProcessDependency(Dependency& dep, String strCaller)
at HaloSoundTools.MapBuilder.ProcessFile(META_FILE_STRUCT& mFile)
at HaloSoundTools.MapBuilder.BuildMap(String strSourceMap, String[] strBuildFiles, Boolean bSPMP)
at HaloSoundTools.MapRebuildStarter.btnBuild_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
EDIT: I have been thinking. This may be to do with conure's 'string fixer' which I used on the map from which I extracted the tags. Could that be the cause of the problem? HMT not being able to read the tags? If so, how can I fix it?