Quantcast
Channel: Answers for "Best way to determine WWW timeout/404/etc.?"
Viewing all articles
Browse latest Browse all 4

Answer by cwodarcz

$
0
0
If I can follow up on this, it seems like the 404 error is actually not in the error attribute, but in the text attribute... I've had no problems with actually getting the WWW code to download my files and accessing my data, but when testing rainy day scenarios, such as file not existing, etc, the isDone property seems successfully set to true, but the error property is null... after spending some time stripping down my code to the simple use of WWW on its own, I found the actual 404 not found error string was in the text property. I noticed another post on here that someone had the same problem... is this a known issue with a potential resolution, otherwise what's a good simple way to detect this error, as the .NET XML parser seems to throw an exception when trying to parse this information. If anyone would like more information, I can post it... Here is what I'm seeing in my Unity Web Log: Success somehow...: 404 Not Found

Not Found

The requested URL /sandboxes/applets/bootstrap/assetdownloads.xml was not found on this server.

from accessing WWW.text's property.

Viewing all articles
Browse latest Browse all 4

Latest Images

Trending Articles





Latest Images