Reproduction steps:
1. Open the attached “TextGeneratorBug.zip“ project
2. Open the “Assets/Scenes/SampleScene.unity” Scene
3. Enter the Play Mode
4. Observe the Console window
Expected result: No exception is thrown
Actual result: IndexOutOfRangeException is thrown
Reproducible with: 2023.2.4f1, 2023.3.0b1
Could not test with: 2021.3.34f1, 2022.3.17f1 (errors)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- If the error didn't occur change the screen resolution to 2560x1920
- It might need to run the project a few times to see the error