Failed to present D3D11 swapchain..." error message when leaving Play mode

Recently I started encountering a problem where my computer screen went completely black when I exited Play mode and then, after a pause, Unity crashed and the “Failed to present D3D11 swapchain…” error message appeared. The problem was with a texture - once I found it and replaced it, the problem disappeared. However, this was a small project so it was easy to do this manually. Is there a way to find what is causing such a problem without having to go erasing things one at a time?

same thing happened with me… maybe something to do with hardware?!? idk