GeneralError: Rejected because no crossdomain.xml policy file was found
This is the code for that section:
- Code: Select all
public void FacebookConnect(string playerIoGameId, string accessToken)
{
MFConsole.WriteLine("Trying to connect to Facebook"); // This show as stated
facebookAccessToken = accessToken;
MFConsole.WriteLine(facebookAccessToken); // This one show a long AccessToken
PlayerIO.QuickConnect.FacebookOAuthConnect
(
playerIoGameId,
facebookAccessToken,
null,
delegate(Client incomingClient)
{
playerIoClient = incomingClient;
MFConsole.WriteLine("PlayerIO -> Facebook login success!");
panelStartScreen.SlideLeft();
},
delegate(PlayerIOError error)
{
MFConsole.WriteLine(error.Message); // GeneralError: Rejected because no crossdomain.xml policy file was found
}
);
}
Is your crossdomain.xml file saved as ASCII?
From Unity's own site:
The Unity webplayer does not support the <allow-http-request-headers-from domain> and <site-control permitted-cross-domain-policies> tags. Note that crossdomain.xml should be an ASCII file.
http://docs.unity3d.com/Documentation/M ... ndbox.html
Got any thoughts?
Edit: This only happens when the game runs via https. Regular http seems to work fine, but still, would be nice to get https working as well. Also, this is when I go into my Security Settings of my account and disable Secure Browsing on Facebook, and I can't ask my players to do that