Steps to reproduce:
- Create new Unity project
- Open TMP Font Asset Creator window (Window > TextMeshPro > Font Asset Creator)
- Import TMP Essentials
- In Source Font select any built-in font (e.g. Roboto-Bold)
- Press "Generate Font Atlas" button
- When generated, press "Save as..." or "Save"
- Observe the opened directory
- Save the asset
- Observe the Console
Actual results: "Couldn't create asset file!", "GUI Error: Invalid GUILayout state..." and "UnityException: Creating asset at path..." errors are thrown because the save dialog defaults to a path inside the Library folder
Expected results: The save dialog defaults to a writable location inside the Assets folder, and no errors are thrown
Reproducible with versions: 6000.0.0f1, 6000.3.21f1, 6000.5.7f1, 6000.6.0b8, 6000.7.0a4
Tested on (OS): Windows
Notes:
- Same issue was fixed for TextCore [Internal link]