If you've selected a GameObject and it's deleted, the Inspector will show a ghost of that GameObject without any of the components it once had.
As the GameObject is deleted, there's really no point to seeing its ghost.
To Reproduce
Click a GameObject
Make a component that deletes it in like 5 seconds or something
Wait for it to be deleted
Expected behavior
The Inspector should be clearing itself back to nothing, or go to the previously selected GameObject if we want to be fancy (it would be quite nice)
Describe the bug
If you've selected a GameObject and it's deleted, the Inspector will show a ghost of that GameObject without any of the components it once had. As the GameObject is deleted, there's really no point to seeing its ghost.
To Reproduce
Expected behavior
The Inspector should be clearing itself back to nothing, or go to the previously selected GameObject if we want to be fancy (it would be quite nice)
Media/Files
No response
Additional context
No response