Get external .xml in mobile

Hey guys, I recently asked about an error I’ve got when try to get an external .xml file in mobile. I got an answers, understood my problem, but I couldn’t get forward with the problem’s fix.

I have the .xml placed in the Resources folder, but I don’t know how to get this files as .xml files with Resources.Load in order to read this file using XmlReader.Read();

The best would be if I could get the path for this .xml in the mobile, so I could use XmlReader.Create(thisPath);

But I definitely got stuck in this and I can’t get any results!

Anyone knows a way to go through this?

Thanks from now!

You’ll want to load the xml file as a Unity TextAsset

Then pass the text property from that to XmlReader.Create()