How to reproduce:
1. Open the user-attached project “ShadowReceiver”
2. Open the “DemoScene” scene
3. Open the Scene View
4. Observe the Editor
Expected result: The Editor didn’t close
Actual result: The Editor is closing on the "Failed to present D3D11 swapchain" error
Reproducible with: 2021.3.29f1
Not reproducible with: 2022.3.6f1, 2023.1.7f1, 2023.2.0b3
Reproducible on: Windows 11 Pro
Notes:
- Sometimes it is reproducible by clicking on the shadows in the Scene View
- This error is also causing video driver to crash, which can crash some apps (e.g. Discord, OBS Studio)