Search Unity

[url]WWW.error[/url] always returns "Null"?

Discussion in 'Editor & General Support' started by DocSWAB, Dec 2, 2009.

  1. DocSWAB

    DocSWAB

    Joined:
    Aug 28, 2006
    Posts:
    615
    In Unity 2.6.1
    When I start a www download and wait for it to finish, like this:

    var download : WWW = new WWW (URL);
    yield download;
    print (download.error);

    No matter whether the URL is good or not, the error message is always a string of "Null" (not the reserved word null as the documentation states).

    This means there's no indication that the download has actually failed.

    Bug report filed, but I was curious if others have seen this or if I am doing something obviously wrong.