How to reproduce:
- Open the attached “IN-153530” project
- In the Unity editor menu bar, select “Window” > “General” > “Test Runner”
- In the top bar of the “Test Runner” window, select the “PlayMode” tab
- Expand “EditBoxEx” > “EditBoxRepro.Tests.dll” > “TextFieldFilterReproTests”
- In the bottom-right corner of the window, click the “Run All” button and wait till the tests are finished
- Select the “B_Control_NoWorkaround_Throws” test
- Observe the result at the bottom of the “Test Runner” window
Actual result: The test fails with “ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: startIndex” error
Expected result: The test passes without error
Reproducible with: 6000.0.1f1, 6000.0.84f1, 6000.3.24f1, 6000.5.0a8
Not reproducible with: 6000.6.2f1, 6000.7.0b1, 7000.0.0a1
Fixed in: 6000.5.0a9 (253a859729df)
Reproducible on: Windows 11 Enterprise (25H2), macOS (25.6.0) arm64 (by user)
Not reproducible on: No other environments tested