How to reproduce:
1. Open the attached “fonts.zip” project
2. Open “SampleScene” Scene (Assets > Scenes)
3. Enter Play Mode
4. In the Game window, observe the text
Expected result: Text has bold font
Actual result: Text doesn’t have bold font
Reproducible with: 2023.1.0a20, 2023.1.20f1, 2023.2.13f1, 2023.3.0b10
Not reproducible with: 2021.3.36f1, 2022.3.21f1, 2023.1.0a19
Reproduced on: macOS 14.2.1 (Intel)
Not reproducible on: No other environment tested
Notes:
- Also, setting GUI Skin asset with GUI.skin = m_guiSkin doesn't work, too
- Reproducible in the Editor and the Standalone Player (macOS)
- Not reproducible if changing the GUI.skin.font = m_CustomFont; to GUI.skin.label.font = m_CustomFont;