UNREAL CRASHING ALL THE TIME

Summary

Everytime I try to work on the project my unreal crashes, nothing specific that I do, sometimes I open material it crashes, sometimes move the camera…

Already tried to:

  • Reinstall Unreal
  • Reinstall Windows
  • Ran sfc /scannow (on windows cmd)
  • Moved the project folder to a SSD
  • Ran anti virus
  • Update and deupdate GPU (studio or gaming)

The error I get:

LoginId:918dd1ed4f81c68ac2a946885c8bd98a
EpicAccountId:d3753e08e39140739ada16d5058437ed

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

UnrealEditor_D3D12RHI!FD3D12ResourceLocation::ReleaseResource() [D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Resources.cpp:1392]
UnrealEditor_D3D12RHI!FD3D12ResourceLocation::~FD3D12ResourceLocation() [D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Resources.cpp:1180]
UnrealEditor_D3D12RHI!FD3D12BaseShaderResource::~FD3D12BaseShaderResource() [D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Resources.h:926]
UnrealEditor_D3D12RHI!FD3D12Texture::~FD3D12Texture() [D:\build++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Texture.cpp:1202]
UnrealEditor_D3D12RHI!FD3D12Texture::`scalar deleting destructor’()
UnrealEditor_RHI!FRHIResource::DeleteResources() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHIResources.cpp:73]
UnrealEditor_RHI!FRHICommandListExecutor::FSubmitState::Submit() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:1057]
UnrealEditor_RHI!RHIValidation::FTracker::FUAVTracker::operator [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:1244]
UnrealEditor_RHI!FRHICommandListExecutor::FTaskPipe::Execute() [D:\build++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:627]
UnrealEditor_RHI!TGraphTask<TFunctionGraphTaskImpl<void __cdecl(ENamedThreads::Type,TRefCountPtr const & __ptr64),0> >::ExecuteTask() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:634]
UnrealEditor_Core!UE::Tasks::Private::FTaskBase::TryExecuteTask() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Tasks\TaskPrivate.h:504]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksNamedThread() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:779]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:668]
UnrealEditor_RenderCore!FRHIThread::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:269]
UnrealEditor_Core!FRunnableThreadWin::Run() [D:\build++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:159]

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Stability

Steps to Reproduce

I dont know, anything makes it crash

Expected Result

Crash

Observed Result

Crash

Platform(s)

Unreal Engine 5.5

Your error is mostly pointing towards a thread error. It looks more cpu oriented than gpu.

Do you have a 13th or 14gen intel?

If so then do a bios update that remedies the problem. They have a microcode error that needs to be fixed via a bios update

1 Like

Hey thanks for your answer!!

Mine is a AMD cpu, I have a Ryzen 9 5950x

I’ll try updating the bios but as I remember its already with the last version installed, do you know any other fix for that?

1 Like

Are you overclocking it? Do you have precision boost overdrive on?

If so try disabling it in bios and see if its more stable. If so then turn it in and try reduce the overclocking aggressiveness until it works ok

Other parts point to DX12 shader problems. You can try deleting DerivedDataCache from your project and regenerating it by running the project. If it was a corrupt shader then it should fix it.

You could try reverting to dx11 and see if that helps if it’s the gpu that is at fault. The errors are a bit of a mixed bag at the moment.

1 Like

hi @Nesquickscope1 , @matt
Have you set power usage to performance in BIOS usually default low causing CPUs to be under powered hardware crashes FN needs all processors high performance

see
BIOS Settings - Undervolting Ryzen Processor | High Performance + Low Temperature

ue5 crashes
Any version crash!!! - Development / Programming & Scripting - Epic Developer Community Forums

1 Like

hey guys, sorry for delay, I was testing it out. Ill list down here some things that I tried:

  • Precision boost overdrive
  • Precision boost overdrive + undervolt
  • Turned OFF Precision boost
  • Restored everything to stock, even RAM
  • Set a maximum clock for the CPU like 4.2
  • Reverted to dx11

The only thing that works is when I use dx11 instead of dx12, but its not a solution cause I need dx12 for path tracing.

One thing I had to do is i had to delete the project and download it from a friend that was working with me on it. So when I did that it had to recompile everything, and it worked fine for some hours. But then it started crashing again and never stopped.

I guess this is something with my GPU and dx12 not being compatible with this new unreal 5.5 or something?

Try maybe undervolting your GPU with MSI afterburner. If the crash is purely dx12 related then maybe you are getting instability on your card when it’s pushed to it’s limit. Undervolting can at least test if it regains it’s functionality at the slight cost of speed.

1 Like

It didnt work also, I undervolted on my gpu tweaker which is a asus software for my gpu. Tried making it use less power but didnt work as well, im thinking it could be something with this new 5.5 version and my gpu, cause as I remember, the last projects that i worked on 5.4 didnt crash like that

1 Like

Having same problem since 5.5 - for me usually happens when loading levels or editing landscape

It’s clearly an Unreal problem, when you get GPU driver crash your nvidia/amd panel will close/reload and when your CPU crash you get BSOD not unreal error

I saw people fixed it by disabling nvidia low latency mode, tried it myself but for me on radeon it’s called “anti-lag”.
So far no crashes.