Search Issue Tracker

Active

Under Consideration for 2022.3.X, 6000.0.X

Votes

0

Found in

2022.3.45f1

6000.0.18f1

Issue ID

UUM-79222

Regression

Yes

"ArgumentOutOfRangeException" is thrown when continuously clicking the TextField and dragging

--

-

How to reproduce:
1. Open the “IN-83466_repro“ project
2. Select Window → My Editor Window
3. Continuously click on the TextField and drag the window
4. Repeat the 3rd step several times
5. Observe the Console

Expected result: No errors are thrown
Actual result: “ArgumentOutOfRangeException“ error is thrown

Reproducible with: 2022.3.28f1, 2022.3.45f1, 6000.0.18f1
Not reproducible with: 2021.3.43f1, 2022.3.27f1

Reproducible on: Windows 10
Not reproducible on: No other environment tested

Notes:
- The issue is inconsistent, if it does not reproduce, keep repeating step 3
- Error: ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
UnityEngine.TextCore.Text.TextHandle.LastIndexOf (System.Char value, System.Int32 startIndex)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.