Rejected because no crossdomain.xml policy file was found

前端之家收集整理的这篇文章主要介绍了Rejected because no crossdomain.xml policy file was found前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

环境:Unity3D 5.3.5f1,Mac

代码中用到WWWForm去post,在Editor中就报了这个错误
Rejected because no crossdomain.xml policy file was found

在Editor的解决办法:在ProjectSetting ——> Editor ——> 勾上Enable Webplayer Security Emulation,Host URL 改为你WWWForm访问的网址,例如:xxx.yourdomain.com:xxxx/xxx,我这用的是二级域名,冒号后是端口号。

参考链接Security Sandbox of the Webplayer

原文链接:https://www.f2er.com/xml/294993.html

猜你在找的XML相关文章