UE5 gpu crashed or d3d device removed

I’m seeing this happen now in the Unreal 5.1 branch on AMD Video cards. This is clearly NOT an NVidia bug. I’ve seen a few crashes related to this in 5.0.3. and it really looks like a race condition.

Sometimes immediately after Unreal’s Garbage Collection runs UE crashes because the Texture got removed before the material. When this bug happens with the VS debugger attached, you cans see Unreal is trying to access invalid memory.

The whole GPU Crash or d3d device removed is just a symptom of this race condition as you can see in the video below in a blank project in UE 5.1… I’ve delt with a lot of race conditions in my career and when it smells like a race condition and looks like a race condition, it always has been. :grinning:

1 Like