Xml file loading

I’m trying to load an XML file that I have put in streaming resources and I can’t seem to figure out the path, if I use jar:file:// I get a URI error and if I try without that it can’t find the path.

I’ve tried

“jar:file://” + Application.persistentDataPath + “/assets/”
“jar:file://” + Application.persistentDataPath + “!/assets/”

these both give “URI shceme must start with” errors, and the second path works for loading in asset bundles.

and i’ve tried

Application.persistentDataPath + “/assets/”
“file://” + Application.persistentDataPath + “/assets/”
“file://” + Application.persistentDataPath + “!/assets/”

which all give "could not find a part of the path “/data/data/etc…”

that same paths with dataPath instead of persistentDataPath give me "could not find a part of the path “/data/app/etc…”

stuff in the assets folder will not be present as distinct files with one exception and thats the StreamingAssets folder

it’s in the streaming assets folder, but the folder they go to on the android is just called assets, I can unpack the .apk and look at 'em and those paths do work for the assetbundles.

edit: hmm it seems that using www. to load it into a stream as opposed to passing those paths directly to xmlreader.create works. weird that android has to do that and iphone doesn’t though.