How to reproduce:
1. Open the attached “range.zip” project
2. Open “SampleScene” Scene (Assets > Scenes > SampleScene)
3. In the Hierarchy window, select “GameObject” GameObject
4. In the Inspector window, observe the “New Behaviour Script” component
Expected result: Variable name doesn’t overlap the range slider
Actual result: Variable name overlap the range slider
Reproducible with: 2022.2.16f1, 2022.2.21f1, 2022.3.4f1, 2023.1.4f1, 2023.2.0a23
Not reproducible with: 2021.3.28f1, 2022.2.15f1
Reproduced on: macOS 13.4.1 (Intel)
Notes:
reproducible with SerializedField and public variable
reproducible different types of variables