CrossDomain.xml issue Unity3D, Visual Studio 2012 -


i'm in having trouble ... i'm calling service unity3d game, says no crossdomain.xml policy file found. time being i'm using localhost http://localhost:3537/service1.svc/search?q=newquery , i've place crossdomain.xml in root folder of server i.e. can contents of file http://localhost:3537/crossdomain.xml file contains

<?xml version="1.0" ?> <cross-domain-policy> <allow-access-from domain="*" /> </cross-domain-policy> 

and when call service use inspectelement/network (in chrome), here can see request send http://localhost:3537/crossdomain.xml , response received i.e. contents of xml file still says after response "rejected because no crossdomain.xml policy file found". i've search lot nothing going work. i've read security sandbox of webplayer unable find solution. i've added host url in edit/project setting/editor http://localhost:3537 work fine in unity3d, if build , run ... same error ... kindly me, i've less time i've submit project. code

www url = new www("http://localhost:3537/service1.svc/search?q=newquery"); yield return url; if(url.error == null) {     str = "www ok!: " + url.text; }  else {     str = "www error: " + url.error; }  

finally i've overcome issue, after long struggle, saving crossdomain.xml in ansi (8 bits) encoding scheme similar ascii (7 bits), i've used notepad purpose. following

enter image description here


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -