Search Unity

www error -> http not supported or disabled in libcurl -

Discussion in 'Scripting' started by TheCheese, Mar 1, 2014.

  1. TheCheese

    TheCheese

    Joined:
    Nov 25, 2009
    Posts:
    82
    Would anyone have any insight as to what this error means or why it's happening?

    IEnumerator GetModels(int year)
    {

    string url = "http://xxx.170.58.57/ListModels.php?year=2013";

    WWW www = new WWW (url);

    while (!www.isDone){
    yield return null;
    }

    print (www.bytesDownloaded);

    print (www.error);

    print (www.text);

    }

    Thanks!
     
  2. KEMBL

    KEMBL

    Joined:
    Apr 16, 2009
    Posts:
    181
    I cant see any problem in url. Probable you have not clean url string, I had same error when work with UTF-8 string it seems well, but had invisible UTF-8 chars. Try to convert file with your source code to simple windows ASCII format.