Jump to content
  • Advertisement
Sign in to follow this  

Unity Unity 4.5 Crossdomain.xml policy file not found

This topic is 1269 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I spent days drowning in web looking for the answer.


I'm attempting simple server communication for OAuth 2.0 access token, Here is the portion I used for sending request (JavaScript)

var loginForm = new WWWForm();

		var headers = loginForm.headers;
		var rawdata = loginForm.data;
		var url = "https://apistaging.neur.io/v1/oauth2/token";
		headers["Authorization"]= "Basic"+"eDJlcFpCNzRTOXFxMTdxT3Z2dzo1eVdBcVE1aVNm";
		var httpResponse = new WWW(url, rawdata,headers);
yield httpResponse; 

When I run the code I get the following error in the console.

Error: Rejected because no crossdomain.xml policy file was found
$:MoveNext() (at Assets/Scripts/StartMenu/LoginService.js:37)


I followed guide from the server side (attached), but I failed to see what I can do to resolve the issue.


An other person succeeded getting the token using Java using some other program.


I must be doing something very wrong, and I have not a single clue orz.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!