How to reproduce:
1. Open any project with either URP or HDRP setup
2. Setup Game View and Scene View so only Game View is visible
3. In Project Browser create Asset "Render Texture"
4. In a Scene Hierarchy select "Camera"
5. Move the "Render Texture" to "Output Texture" under "Output" in the Camera Inspector
6. Undo (ctrl+z) and observe Game View
Actual result: Game View remains black
Expected result: Game View redraws and shows Camera
Reproducible with: 2022.2.0a3, 2022.3.10f1, 2023.1.14f1, 2023.2.0b10, 2023.3.0a6
Not reproducible with: 2021.3.29f1, 2022.2.0a2
Notes:
1. Issue reproduced in URP and HDRP but doesn't without RP
2. Issue does not reproduce if Scene View and Game View are in sight at the same time
Reproduced on: Windows 11