Unity Issue Tracker - TouchScreenKeyboard allows an extra character when characterLimit is set
Fixed
UUM-77509
TouchScreenKeyboard allows an extra character when characterLimit is set
Unity: iOS
iOS
Fixed
6.0.X
2022.3.X
2021.3.X
Fixed the character limit of the keyboard shown with TouchScreenKeyboard.Open.
Fixed the character limit of the keyboard shown with TouchScreenKeyboard.Open.
Fixed the character limit of the keyboard shown with TouchScreenKeyboard.Open.
How to reproduce:
1. Open the attached Project "ReproProject"
2. Add the Scene "Scene1" to the Scene List
3. Build and Run on an iOS device
4. In the Player press the Button "OpenKeyboard"
5. Type as many characters as you are allowed with the opened Keyboard
Expected result: 5 characters are allowed to be typed
Actual result: 6 characters are allowed