Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Right-click the "Main Camera" GameObject in the Hierarchy window
- Click the "Properties..." button
- Dock the Properties window together with the Game View
- Click on the Game View to focus it
- Delete the "Main Camera" GameObject in the Hierarchy window
- Observe the docked Properties window
Actual results: The Properties window still exists in the Editor even when the GameObject is already deleted
Expected results: The Properties window is closed after the GameObject is deleted
Reproducible with versions: 2022.3.67f1, 6000.0.58f1, 6000.2.6f1, 6000.3.0b3, 6000.4.0a1
Tested on (OS): Ubuntu 24.04, macOS Silicon Sequoia 15.6.1
Notes:
- Does not reproduce if the Properties window is focused
- Clicking on the Properties window to focus it after reproduction makes the Properties window disappear