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
- Warning 'Unable to find player assmebly' is thrown when building some Project Templates
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
Add comment