I noticed this issue is marked as not reproducible but it is problematic for my current project and I’ve tracked down what triggers it. It seems to be a race condition occurs when updating a material parameter on the last tick before the game closes between the material being garbage collected and the render thread actually updating the parameter.
I’ve attached a simple repro-project that will trigger the crash upon stopping a PIE session. Since it’s a race condition bug, it may not always crash the first time, but on my PC it usually crashes at least 33% of the time. There are simple BP_CrashActor and M_DynamicSprite assets that combine to trigger the bug.
Hopefully I’m posting this through the correct channels, never done this before.
QA marked is as “Cannot Reproduce” in UE 5.4, but we could indeed reproduce it in previous versions of Unreal. It should be fixed in the upcoming UE 5.4
Ah that’s great news! Is the fix already in the github repository or is it yet to be implemented? I’m trying to fix this issue myself for a recent game jam submission. I see a few commits in the 5.4 branch relating to paper 2d’s scene proxies, but some of them modify some engine code as well. If that’s what I need it looks like I may need to do a custom source build of the engine.