How to reproduce:
1. Create a new Unity project
2. Select any GameObject in the Hierarchy
3. Right-click anywhere in the Hierarchy and observe the results
Expected results: The blue selection remains on the GameObject
Actual results: The blue selection is missing and there is no visual indication in the Hierarchy that the GameObject is selected even though it is selected
Reproducible with: 6000.5.0a5, 6000.5.2f1, 6000.6.0b2, 6000.7.0a1
Not reproducible with: 6000.3.17f1, 6000.4.12f1, 6000.5.0a4
Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: No other environment tested
Note: Left-clicking to close the contextual menu also doesn't deselect the GameObject, it remains silently selected