How to reproduce:
1. Open the user’s attached “UIToolkitBug” project
2. Open the “Scene” Scene
3. Select the “Bug” GameObject in the Hierarchy
4. Change the “Test (Component) → Example” field value to “Everything”
5. Re-select the GameObject
Expected result: Field value is set to “Everything”
Actual result: Field value is set to “Nothing”
Reproducible with: 2022.2.0a9, 2022.2.0b8
Not reproducible with: 2020.3.40f1, 2021.3.11f1, 2022.1.19f1, 2022.2.0a8, 2022.2.0b9, 2022.2.0b10, 2023.1.0a13
Reproduced on: macOS 12.5 (Intel), Windows 10