Xml Problem

Hello! I Have same problem with this code in C#

		WWW www = new WWW(url);
		yield return www;
		xmlDoc = new XmlDocument();
		xmlDoc.Load(www.url);

In editor it’s work perfect but in webplayer i have same issue. It stops in last line and don’t known what to do with that. I searched almost all web and I didn’t found any working code.

I’m based my project script on this site: Unity Noobs: XML - Writing to an existing xml file

maybe use xmlDoc.Load(www.text); ? as your url is no valid xml statement i guess and not what you want to retrieve.

Make sure your security is set up correctly on the web player.

@exiguous I already try with www.text, also with www.bite

@KelsoMRK I’ve got crossdomain.xml on server.