Reproduction steps:
1. Open the attached "PROJECTFILE" project
2. Open the “SearchBoxTest” custom Editor window (Window > “TEST WINDOW”)
3. In the TextField, hold down the “a” keyboard button and click the TextField multiple times quickly while moving the mouse for about 5 seconds
Expected result: Unity Editor does not freeze
Actual result: Unity Editor freezes
Reproducible with: 2023.2.0a5, 2023.2.0b10, 2023.3.0a6
Not reproducible with: 2021.3.30f1, 2022.3.10f1, 2023.1.14f1, 2023.2.0a4
Reproducible on: macOS 13.4.1 (M1 Max), Windows 10
Not reproducible on: No other environment tested
Note:
-Sometimes console errors “IndexOutOfRangeException: Index was outside the bounds of the array.” can be seen before the Editor freeze
-Unity Editor freeze can be inconsistent