Editor Crash - Assertion failed: UnderlyingResource->GetRefCount() == 1

Hey,

We’re repeatedly getting editor crashes with the error

LogWindows: Error: appError called: Assertion failed: UnderlyingResource->GetRefCount() == 1 [File:D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Resources.cpp] [Line: 1313]

This occurs at lots of different points, such as moving the view port around whilst editing lights or animation view port mode. It also crashes when finishing a render through the movie render queue with the same error.

Any help / direction on what to troubleshoot would be appreciated!

3 Likes

i having the same issue, i think its because of low vram, are you using a rtx?

Just started happening to me too, suddenly any mesh I import into a 5.5.1 project crashes with this error a second or two after import completes. RTX 4090, plenty of free VRAM when this occurs.

Update: Crash was tied to a specfic map which had nanite-enabled landscape. As that was the most recent and unfamiliar-to-me feature I had used, I disabled it. This didn’t resolve things, so I reinstalled Nvidia drivers and updated streaming pool settings (was getting an over-budget warning - though I had been long before the crashes started). Re-enabled nanite on the LS, and things appear to be resolved so far.

I’ve got the same issue – crashes are pretty irregular, moving around in the view port, editing metahumans, opening assets. It also crashes after finishing a movie render queue. Has anyone found a fix yet? On a 4090

This is happening to me too, and I can confirm it’s happening when I’m working on only one of my levels, but for the life of me I can’t determine what’s causing the problem nor the nature of it as I don’t understand what the error code is trying to tell me.