Search Issue Tracker
Fixed
Fixed in 6000.3.8f1, 6000.5.0a8, 6000.6.0a1
Votes
0
Found in
6000.0.67f1
6000.3.8f1
6000.4.0b8
6000.5.0a7
6000.6.0a1
Issue ID
UUM-134792
Regression
No
[UI Toolkit] Delete key deletes the incorrect character and allows for an extra character deletion when language direction is set to RTL
How to reproduce:
1. Create a new Unity project
2. In the Assets folder, create a new UI Document
3. Open it in UI Builder
4. In the UI Builder Hierarchy, add a TextField and select it
5. Navigate to Attributes → Language Direction and set it to RTL
6. In the Viewport, enable the Preview mode
7. In the TextField input "testing"
8. Move the pointer in between the "n" and "g" characters
9. Press the Delete key
10. Notice how in the Viewport the character “n” was deleted first
11. Press the Delete key again
12. Observe the viewport
Actual result: You are allowed to delete the character "g" despite the cursor position indicating otherwise
Expected result: Only the letter "g" is deleted, and you cannot delete any more characters
Reproducible with: 2023.3.0b1 (a9472903d2b0), 6000.0.68f1, 6000.3.9f1, 6000.4.0b9, 6000.5.0a7
Could not test with: 2023.1.0a1, 2023.2.0a1, 2023.3.0a2 (the language direction attribute was not available in these versions)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
- Entities Hierarchy window allows Cyclic nesting and throws an “ArgumentException: Cyclic nesting detected” error when dragging a Prefab onto the same Prefab in the Entities Hierarchy
- EnterPlayModeOptions doesn't take effect if user manually modifies m_EnterPlayModeOptionsEnabled to 0
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
Resolution Note (fix version 6000.6.0a1):
Fixed an issue related to delete and backspace at edges for right-to left (RTL) input for ATG.
Resolution Note (fix version 6000.5.0a8):
Fixed an issue related to delete and backspace at edges for right-to left (RTL) input for ATG.