How to reproduce:
1. Open the attached “fieldnames.zip” project
2. Open the “SampleScene” Scene (Assets > Scenes)
3. In the Hierarchy window, select “GameObject” GameObject
4. In the Inspector window, add the “MyBehaviourScript” script to the GameObject
5. Open the “My First Int” dropdown and select “Option 1”
6. Open the “My Second Int” dropdown and select “Option 2”
7. Observe the result
Expected result: “Option 2” is selected in the dropdown menu
Actual result: “Option 1” is selected in the dropdown menu
Reproducible with: 2022.3.14f1, 2022.3.17f1, 2023.2.6f1
Not reproducible with: 2021.3.34f1, 2022.3.13f1, 2023.3.0b3
Reproduced on: macOS 13.6.3 (Intel)
Not reproducible on: No other environment tested
Notes:
- The “Option 2” is shown in the Inspector “My Second Int” field
- 2023.3 stream was not affected by this issue