Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.1.1f1
Issue ID
959985
Regression
No
Typing Asian characters inside an InputField then changing its text throught the Inspector freezes the InputField
Steps:
1) Create an InputField (GameObject - UI - InputField)
2) Go in Play mode then type something inside in either Korean, Japanese or Chinese
3) Select the InputField in the Hierarchy, then change its text through its Inspector
4) Returns the following error in the console:
ArgumentOutOfRangeException: startIndex + length > this.length
Parameter name: length
System.String.Substring (Int32 startIndex, Int32 length) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/String.cs:356)
UnityEngine.UI.InputField.UpdateLabel () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/InputField.cs:1656)
UnityEngine.UI.InputField.OnValidate () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/InputField.cs:547)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Expected result: the InputField update along the modifications in the Inspector
Actual result: InputField freezes, no longer update
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on block_locate_free when rendering a specific scene
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
Add comment