Unreal Engine crashing after compiling shaders

I have been working on a scene for over a week, with Ray Tracing. It is quite a complex and unoptimized scene but I wasn’t worried about it that much as my objective is to get a single high quality shot out of it in the end. It has stopped working though all of a sudden. Unreal crashes after compiling the shaders, I can navigate the scene while it is compiling but it crashes literally after a second it has finished compiling.

Assertion failed: NumPooled > 1 [File:D:\Build++UE4+Licensee\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Allocation.h] [Line: 883]

UE4Editor_Core
UE4Editor_Core
UE4Editor_D3D12RHI
UE4Editor_D3D12RHI
UE4Editor_D3D12RHI
UE4Editor_D3D12RHI
UE4Editor_D3D12RHI
UE4Editor_D3D12RHI
UE4Editor_RenderCore
UE4Editor_Renderer
UE4Editor_RenderCore
UE4Editor_Renderer
UE4Editor_Renderer
UE4Editor_Core
UE4Editor_Core
UE4Editor_RenderCore
UE4Editor_RenderCore
UE4Editor_Core
UE4Editor_Core
kernel32
ntdll

Nevermind, I’ve resolved it myself by completely restarting all the settings

Hey- I just started getting this exact error this morning after working on a project for the last few weeks without this crash.
Can I ask what setting you switched?

Hello Lina, I deleted the contents of my project’s /Saved/Config/ directory and it restarted all the settings of the project to default. There was a setting that I was using that made the engine crash whenever it tried to compile the shaders with it on. As I wasn’t aware which setting it was, restarting the settings helped.

If deleting the contents of the config directory doesn’t work, try to overwrite it with the contents of the /UE4/Templates/(TemplateName)/Config/ directory.

Hello, I still don’t understand how you restart, so it’s set up. Can you tell me more about it? This problem is too difficult

You do so by changing your current project settings back to default. As your project not be opening, the only way to restart the settings is to delete the contents of the Config folder from your project.
For instance;
C:\UE(Project Name)\Saved\Config

  • Delete all the files in the Config folder
  • You would have to setup your project settings from scratch after this though

I am facing same error when opening map(level).

I use migrate tool and transfer that map(level) to new project and it works for me.