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
- “Label” name in Sprite Library Editor window lacks character limit causing long names go under the Object Field
- Preview image (screenshot) is not available after capturing snapshot in Memory Profiler
- Crash on UNITY_FT_Stream_ReadAt when changing TMPro properties after unloading an AssetBundle
- Particles spawn at the same position when using raw byte address buffer in VFX Graph
- Decal Shader Graph - Custom vertex interpolators are always 0
Add comment