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
- A NullReferenceException error is thrown when extracting textures from an FBX
- “Convert To Subgraph Operator” option is capitalised incorrectly in VFX Graph
- "Toggle all debug panels" shortcut throws “NullReferenceException: Object reference not set to an instance of an object” error
- Rect Transform values are set to NaN when scaling UI element with centered scaling
- "Local Volumetric Fog" Component's "Inherit from Hierarchy" mode doesn't support negative "Scale" on the "Transform" Component
Add comment