Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
4.5.1p1
Issue ID
615773
Regression
No
The documentation for WWW.error has multiple issues
http://docs.unity3d.com/ScriptReference/WWW-error.html
In the description and code examples "String.IsNullOrEmpty" is used, however this is correct only for the JavaScript code. In C# it should be "string.IsNullOrEmpty". I am not sure if this should be changed in the description, however this mistake must be fixed in the C# code example.
Additionally all code examples (in JavaScript, C# and Boo languages) have a mistake, because the www.texture result is assigned to the texture even though an error was returned. The assignment should be controlled by the "if" statement.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mouse input is registered incorrectly in Custom RP when downscaling Render Target and rendering Overlay UI before final upscale
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
Add comment