Reproduction steps:
1. Open the attached project “CreatorWindowCrash”
2. In the Project window select “Assets/Inter-Regular SDF.asset”
3. Click anywhere to deselect the selected file
4. Repeat step 2
5. Open the Font Asset Creator window ( Window > TextMeshPro> Font Asset Creator)
Expected result: Font Asset Creator window is opened
Actual result: The Editor crashes
Reproducible with: 3.2.0-pre.2 (2021.3.29f1, 2022.3.7f1, 2023.1.8f1), 3.2.0-pre.5 (2021.3.29f1, 2022.3.7f1, 2023.1.8f1), 4.0.0-pre.2 (2023.2.0b4)
Not reproducible with: 3.0.6 (2021.3.29f1, 2022.3.7f1, 2023.1.8f1)
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Notes:
- With 3.2.0-pre.1 crash doesn’t happen when opening the window, but the crash still appears after closing the window
- In step 5 also reproducible with Window > Text > Font Asset Creator
- Reproducible by pressing the Update Atlas Texture button in Inspector after step 4
First few lines of stacktrace: