I’m not sure what’s happening. I’ve a xml file in the resources folder, which is properly loaded with Resources.Load:
TextAsset dialog = (TextAsset)Resources.Load ("bedroomDialog");
currentDialog.LoadXml (dialog.text); //currentDialog is XmlDocument
dialog.text does contain the xml code, and when I parse it while on the editor, it all works flawlessly.
But when I build a webplayer version, or a macOS or Windows app, LoadXml does not work. The xml text, however, has been properly loaded, I see it on screen. But LoadXml seems unable to parse it.
Any clue? ![]()