Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Rejected because no crossdomain.xml policy file was found

Discussion in 'Editor & General Support' started by jytu, Sep 13, 2010.

  1. jytu

    jytu

    Joined:
    Nov 4, 2009
    Posts:
    22
    :eek:

    What is that?

    WWW ERROR: Rejected because no crossdomain.xml policy file was found
    UnityEngine.Debug:LogError(Object)
     
  2. Dreamora

    Dreamora

    Joined:
    Apr 5, 2008
    Posts:
    26,601
    sounds like you tried to access stuff on a different domain than the one on which the webplayer runs and are using U3

    thats against web security standards and will not work. you must specify such differing domains in the crossdomain.xml file to make them available.

    for in-editor testing unity offers configuration possibilities within the settings
     
  3. bakno

    bakno

    Joined:
    Mar 18, 2007
    Posts:
    595
    I am having this same error on a widget. Is this normal?
     
  4. alex31016

    alex31016

    Joined:
    Jul 3, 2012
    Posts:
    15
    This error occurs when you try to access a web server and you don’t have a file named “crossdomain.xml” in the server. Also if you want to try your game in the editor you need to write the complete path of the crossdomain.xml file in the field Host URL located in the menu Edit > Project Settings > Editor.
     
  5. priyankavk

    priyankavk

    Joined:
    Nov 8, 2013
    Posts:
    1
    try changing the build settings from web player to some other platform to make it work in editor