Search Unity

  1. Looking for a job or to hire someone for a project? Check out the re-opened job forums.
    Dismiss Notice
  2. Unity 2020 LTS & Unity 2021.1 have been released.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

[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.
     
unityunity