5.4 crash on new project with error: "Failure to bind non-optional shader resource parameter InTextureCube! The parameter is either not present in the shader, or the shader compiler optimized it out."

5.3 works fine. I installed 5.4, created a new project, and I’m getting this error no matter what template I choose:

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\ShaderParameters.cpp] [Line: 64] 
Failure to bind non-optional shader resource parameter InTextureCube! The parameter is either not present in the shader, or the shader compiler optimized it out.




UnrealEditor_RenderCore
UnrealEditor_RenderCore
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_Engine
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor_CoreUObject
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
UnrealEditor
kernel32
ntdll

Does anybody have an idea of what could be causing the issue or where can I start looking to solve it?

Thanks in advance

There seems to be a shader problem. It could be that a shader is using a function or parameter that is currently not available. It seems to specify InTextureCube!, so I would look for it there.

Simply remove shader after shader to figure out what it is that is causing it.