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
- GameObjects made using "GameObject.CreatePrimitive" appear pink in the Player when the default material is used
- “FMOD failed to set the software format to the custom sample rate…” warnings are thrown as System Sample Rate value is being changed in Audio section of Project Settings window
- VFX Marquee selection does match the visual indicator
- “Invalid AABB aabb” errors are spammed when “Infinity” value is entered in Collider Component fields
- Editor Role does not sync with the MPPM Play Mode Scenario Role when entering Play mode
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.