Topic: "Text node cannot appear in this state. Line 1, position 1. "
Hi all,
Yesterday, I was able to visualise buildings in 3d using the OnlineMapsBuildings script.
Today, it does not seem to work anymore.
And gives me this "Text node cannot appear in this state. Line 1, position 1. " , as if it could not download the data from OSM .
Any idea ?
I am stuck, as I was suppose to show a prototype based on online maps a few days from now. Any timely help would be greatly appreciated !!
Cheers!
Mehdi
Error message:
Text node cannot appear in this state. Line 1, position 1.
at Mono.Xml2.XmlTextReader.ReadText (Boolean notWhitespace) [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0
at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000] in <filename unknown>:0
at System.Xml.XmlDocument.LoadXml (System.String xml) [0x00000] in <filename unknown>:0
at OnlineMapsXML.Load (System.String xmlString) [0x00006] in C:\Users\Public\Documents\Unity Projects\map-app3\Assets\Infinity Code\Online maps\Scripts\XML\OnlineMapsXML.cs:828
UnityEngine.Debug:Log(Object)
OnlineMapsXML:Load(String) (at Assets/Infinity Code/Online maps/Scripts/XML/OnlineMapsXML.cs:833)
OnlineMapsOSMAPIQuery:ParseOSMResponse(String, Dictionary`2&, List`1&, List`1&) (at Assets/Infinity Code/Online maps/Scripts/GoogleAPI/OnlineMapsOSMAPIQuery.cs:94)
<OnBuildingRequestComplete>c__AnonStoreyC:<>m__2A() (at Assets/Infinity Code/Online maps/Scripts/Plugins/Buildings/OnlineMapsBuildings.cs:211)
OnlineMapsThreadManager:StartNextAction() (at Assets/Infinity Code/Online maps/Scripts/OnlineMapsThreadManager.cs:99)