• About
  • Gallery of Images
  • Archives
  • Categories
  •   Unity and crossdomain.xml policy file

    8/10/10 - 22:18

    Hmmm, might have found the source of the random game drop. Sometimes the unity player complains about ‘rejected – no crossdomain.xml policy file was found’. After a bit of googling ( and only just noticing this myself, no idea whats triggered it, it was fine during my testing ) I found the following :

    http://unity3d.com/support/documentation/Manual/Security%20Sandbox.html

    Basically, in order to get things working nicely, you need to have a file called crossdomain.xml in the root directory of your server.

    This file needs to contain the following :

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

    Hopefully this will help someone out there :)

     

    lamentconfig  
    Share

    4 Responses to “Unity and crossdomain.xml policy file”

    1. Dkoby says:

      Thank you! This fixed my problem!!

    2. Lakshmi says:

      Thanks a lot. It solved my problem.

    Your Reply