Search Issue Tracker

Fixed

Fixed in 2022.3.52f1, 6000.0.26f1, 6000.1.0a3, 7000.0.0a10

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)

  1. Resolution Note (fix version 7000.0.0a10):

    Fixed out of range issue when dragging on a empty field.

  2. Resolution Note (fix version 6000.1.0a3):

    Fixed out of range issue when dragging on a empty field.

  3. Resolution Note (fix version 6000.0.26f1):

    Fixed out of range issue when dragging on a empty field.

  4. Resolution Note (fix version 2022.3.52f1):

    Fixed out of range issue when dragging on a empty field.

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.