Unreal Crashes sometimes when I try to open one level

When I try to open my level inside my unreal project, it crashes and the logs says this:

Fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderParameterStruct.cpp] [Line: 473]
FAmbientCubemapCompositePS’s required shader parameter FParameters::AmbientCubemap::AmbientCubemapSampler was not set.

0x00007fff86f8be18 UnrealEditor-RenderCore.dll!UnknownFunction
0x00007fff86fc2bc9 UnrealEditor-RenderCore.dll!UnknownFunction
0x00007fff0354f004 UnrealEditor-Renderer.dll!UnknownFunction
0x00007fff03572272 UnrealEditor-Renderer.dll!UnknownFunction
0x00007fff86e88fbb UnrealEditor-RenderCore.dll!UnknownFunction
0x00007fff86e6219c UnrealEditor-RenderCore.dll!UnknownFunction
0x00007fff86e1e4b0 UnrealEditor-RenderCore.dll!UnknownFunction
0x00007fff86d9c564 UnrealEditor-RenderCore.dll!UnknownFunction
0x00007fff2127ee35 UnrealEditor-Core.dll!UnknownFunction
0x00007fff2127eb6f UnrealEditor-Core.dll!UnknownFunction
0x00007fff212a61ad UnrealEditor-Core.dll!UnknownFunction
0x00007fff2126b0d6 UnrealEditor-Core.dll!UnknownFunction
0x00007fff21477e23 UnrealEditor-Core.dll!UnknownFunction
0x00007fff218cc0ad UnrealEditor-Core.dll!UnknownFunction
0x00007fff218c35cf UnrealEditor-Core.dll!UnknownFunction
0x00007fffcc4be8d7 KERNEL32.DLL!UnknownFunction

Crash in runnable thread Background Worker #6

Can someone help me with this issue?

yeah this has been happening to me, whenever i try to open a level which has like high settings or way too many lights or things like that.

workaround i found out that whenever i open the project then i open a blank level and then open my level in which i have to work.

Don’t know why this happens but yeah this method works for me.

1 Like

Hey there @JxCoZ! Welcome back to the community! The AmbientCubemapCompositePS is usually part of your lighting setup to composite the ambient lighting for the scene. If this is exceptionally heavy or something is wrong with the shader (like corruption) you may be able to rebuild shaders to correct this.

Does it crash every time or only rarely? Is the lighting complexity or the level size out of the ordinary?


Rebuilding Shaders (and other caches)

First back up your project somewhere safe in case this breaks anything else, I would recommend source control, and save your editor layout if you’d like. This step is crucial when messing with project files directly.

Make sure the project is closed
Then find these files in your project folder:

  • Intermediate
  • DerivedDataCache
  • Saved

Delete them, and then launch the project. It will then rebuild all the shaders and caches that we deleted. Wait for them to fully complete once you’ve opened to your starting level. Once all shader work is done, try to open the heavy level.


1 Like

Hi, thank you for your answer. I have tried rebuilding shaders deleting the folders you told me, but it still happened sometimes.
It happened frequently, but it did not happen everytime, and I figured that it did not happen when I open the level in Unlit, so I think it is because the lighting as you said, but the cubemaps I am using are not exceptionally heavy, in fact I only use 2 and one of them is the default GreyTextureCubemap from Unreal.
I tried changing the other cubemap I had to the GreyTextureCubemap as well to see if that cubemap being heavy was the problem, and I think it was? Since I changed that, I have opened the level 5 or 6 times, and I did not get any crash!

Thank you for your help!

1 Like

I’m glad it worked out! It’s also possible that there was some data issues with it if changing the cubemap worked out.