Reproduction steps:
1. Open the attached “repro-project“
2. Open the "Assets/InstanceTerrainDemo/Demo/Demo.unity" scene
3. Enter Play Mode and wait to see the red sphere
4. Exit Play Mode
5. In the Project window, locate and select the "Assets/InstanceTerrainDemo/Demo/DemoRes/Animation/DemoPlayer/Attack_5Combo_ALL_Inplace.anim" animation clip
6. In the Inspector window, uncheck the "Loop Time" option and save changes using Ctrl+S
7. Recheck the "Loop Time" option and save again using Ctrl+S
8. Rapidly repeat steps 6 and 7 multiple times
9. Enter Play Mode
10. Observe the Editor freezing and the “Unity Error“ error pop-up appearing
Reproducible with: 2021.3.38f1, 2022.3.27f1
Not reproducible with: 6000.0.1f1
Reproduced on: Windows 10, Windows 11 (by reporter)
Not reproducible on: macOS 13.5.2 (Intel), macOS 14.4.1 (M1 Max)
Notes:
1. The full error: “Failed to present D3D11 swapchain due to device reset/removed.This error can happen if you draw or dispatch very expensive workloads to the GPU, which can cause Windows to detect a GPU Timeout and reset the device. (see https://docs.microsoft.com/en-us/windows-hardware/drivers/display/timeout-detection-and-recovery).If you believe this error is due to built-in Unity functionality, please submit a bug.This is an unrecoverable error and the editor will shut down.“
2. Could not find the exact ‘Fixed in’ version due to reproduction being inconsistent