How to reproduce:
1. Open the user-attached project (MWE.zip)
2. In the Project window double-click to open the MWE (Visual tree asset)
3. In the UI Builder windows Hierarchy section select the Button element
4. In the UI Builder's Inspector section under Text make sure that "Font Asset" is set to "NotoSerifThai-Regular"
5. Deselect and reselect the Button as described in step 3
6. Observe the Editor's Console panel
Expected result: An error gets thrown in the Console
Actual result: No errors are thrown in the Console
Reproducible with: 2021.3.16f1, 2022.2.2f1, 2023.1.0a23
Could not test with: 2020.3.42f1 (UI Builder not available)
Reproducible on: Ubuntu 20.04, Windows 10
Full error:
Material 'NotoSerifThai-Regular Material' with Shader 'Hidden/Internal-GUITextureClipText' doesn't have a float or range property '_GradientScale'
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)