- Home /
Encountering a strange cross policy domain error, help?
Exception: Expected root element to be . found body instead
MonoForks.System.Windows.Browser.Net.FlashCrossDomainPolicy+Handler.OnStartElement (System.String name, IAttrList attrs)
MonoForks.Mono.Xml.MiniParser.Parse (IReader reader, IHandler handler)
MonoForks.System.Windows.Browser.Net.FlashCrossDomainPolicy.FromStream (System.IO.Stream originalStream)
MonoForks.System.Windows.Browser.Net.CrossDomainPolicyManager.BuildFlashPolicy (Boolean statuscodeOK, MonoForks.System.Uri uri, System.IO.Stream responsestream, System.Collections.Generic.Dictionary`2 responseheaders)
I have no idea why I'm getting this, the application has been working just fine until today, and suddenly I get a Cross policy domain error.. for Flash, nonetheless? Huh? It doesn't seem to be affecting anything, but it has me baffled.
Can't say I've seen that error, before.
The stack trace probably mentions Flash because this whole "crossdomain.xml" idea is more or less copied from Flash.
Best recommendation: double check the security sandbox manual page, make sure your X$$anonymous$$L looks exemplary, and check for any errors in your logs. You can instruct the editor to emulate full security settings, which can help with debugging.
Well, it does not seem to be affecting anything. The only thing I am loading are text files stored in resources, and PlayerPrefs. Beyond that, there's not much of a web connection yet.
Your answer
![](https://koobas.hobune.stream/wayback/20220613150718im_/https://answers.unity.com/themes/thub/images/avi.jpg)