XML Loading works in PC... but not in Android
Hello everybody,
When I run my application in the Editor everything works fine. I load an XML this way:
private static readonly string s_filePath = Application.dataPath + "/Resources/_XML/";
private static readonly string s_fileName = "Language.xml";
var xml = new XmlDocument();
xml.Load(s_filePath + s_fileName);
Strings = new Hashtable();
Then, I compile to Android, but hte XML document doesn't load.
I was not sure why was this happening,
Hope there's somebody smarter than me able to help me.
Greetings
Comment
$$anonymous$$aybe this sounds very stupid but maybe is the path where the file is stored different on Android?