Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.1.0b2
Issue ID
1004484
Regression
No
GUILayout.TextField overloads that have maxLength parameter cause NullReferenceExceptions
To reproduce:
1. Open the project, attached by the tester (GUILayoutTextFieldBug.zip)
2. Go to Test -> Testing
3. Observe the console
Expected: specifying maxLength parameter in GUILayout.TextField doesn't cause exceptions and actually limits the length of the entered text
Reproduced in 5.6.5p2, 2017.1.3p1, 2017.2.2f1, 2017.3.1p2, 2018.1.0b2, 2018.1.0b8, 2018.2.0a1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Add comment