Reproduction steps:
1. Open the “ReproProject“ project
2. Open the “Assets/Scenes/SampleScene“ scene
3. Select the “GameObject“ GameObject in the Hierarchy window
4. Set the Test value to “Test 1“ in the Inspector window
5. Select the “GameObject (1)“ GameObject in the Hierarchy window
6. Set the Test value to “Test 2“ in the Inspector window
7. Select the “GameObject (2)“ GameObject in the Hierarchy window
8. Set the Test value to “Test 3“ in the Inspector window
9. Select all 3 “GameObject”, “GameObject (1)“ and “GameObject (2)“ GameObjects in the Hierarchy window
10. Deselect all selected GameObjects in the Hierarchy window
11. Select any of the “GameObject”, “GameObject (1)“ or “GameObject (2)“ GameObjects in the Hierarchy window
12. Observe the Inspector window
Expected result: The Test value that was set remains
Actual result: The Test value is reset to “None“
Reproducible with: 2022.3.14f1, 2022.3.16f1, 2023.2.4f1, 2023.3.0a19
Not reproducible with: 2021.3.33f1, 2022.3.13f1
Reproducible on: Windows 11 Pro (22H2)
Not reproducible on: No other environment tested
Note: No reproduction if the Test value is the same for all of the “GameObject”, “GameObject (1)“ and “GameObject (2)“ GameObjects