- Home /
Question by
ina · Feb 12, 2011 at 04:16 AM ·
webplayerwwwcrossdomain
Unity Web Player Load Object Error crossdomain.xml
Error reading .obj file: Rejected because no crossdomain.xml policy file was found UnityEngine.MonoBehaviour:print(Object)
Where do you specify the crossdomain.xml in Unity webplayer to avoid this error when using WWW
?
Comment
Answer by DaveA · Feb 12, 2011 at 04:19 AM
You create that file with a text editor or something and upload it to your server. Should exist on the root of the domain you're hitting. eg if your model is at www.yourdomain.com/unity.html then it goes in the same folder as unity.html
what about for local offline testing? (not using a webserver)
You can use file:// protocol or run a local server like server2go