SingleLayerWater Material crashes when sampling SceneTexture:CustomStencil.

UE - Rendering Architecture - Shaders - Sep 19, 2024

There is a texture mismatch between the expected texture samplers and actual texture samplers for SingleLayerWater materials that use the Material Function StencilMaskCompare. Also tested on UE5.5, ...

Crash when precaching PSOs for decals from non-game thread

UE - Rendering Architecture - Shaders - Aug 21, 2024

During async loading from an AsyncLoading thread, DecalComponent attempts to precache PSOs which can trigger a checkf in StrongObjectPtr.h which are only allowed to be created on a game thread. ...

UE5.4 Regression - crash when disabling shader optimization while raytracing is enabled on D3D12

UE - Rendering Architecture - Shaders - Jul 15, 2024

Certain interactions between a Rect Light with a Light Function and a Post-Process volume lead to a check() when compiling a Ray Tracing PSO for tracing lights. This check() only happens when shader ...

Editor crash when shader debugging enabled including r.shaders.optimize=0

UE - Rendering Architecture - Shaders - Jun 23, 2024

The editor crashes when activating cvar options for shader compilation and debugging. ...

Address Sanitiser in MSVC incorrectly identifies a non-virtual destructor, but the class is not polymorphic

UE - Rendering Architecture - Shaders - Jun 11, 2024

When built with Address Sanitiser, the engine can except in FShaderPipeline::FindOrAddShader on deletion of the Shader pointer. This appears to be in error as FShader is asserted to be non-polymorp ...

Can't set "r.Shaders.Optimize" to false in UE5.4

UE - Rendering Architecture - Shaders - Jun 7, 2024

The CVar "r.Shaders.Optimize" cannot be set to false from DefaultEngine.ini in the section "[ShaderCompiler]" as its help text describes. Also tested on UE5-Main, CL: 34200103 ...

RHICoreShader ValidateStaticUniformBuffer expected shader logging is confusing

UE - Rendering Architecture - Shaders - May 9, 2024

The log output in ValidateStaticUniformBuffer, lists hashes that do not correspond to the actual shader name which makes it difficult to track down problem shaders. The current log output code is ...

DumpShaderStats doesn't output any shader data

UE - Rendering Architecture - Shaders - May 1, 2024

The DumpShaderStats console command doesn't output any shader stats because the code to calculate that information in DumpShaderStats (Shader.cpp) is commented out https://github.com/EpicGames/Unrea ...

Improve shader map logging in EmitNullShaderParameterFatalError

UE - Rendering Architecture - Shaders - Mar 22, 2024

UDN: [Link Removed]In order to make it easier to track down (future) assets that could cause this crash we modified EmitNullShaderParameterFatalError() to also dump the asset filename if possible: ...