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 shaders are not optimized.
1. Download the attached test project
2. Configure these cvars in ConsoleVariables.ini:
r.ShaderDevelopmentMode=1
r.DumpShaderDebugInfo=1
r.Shaders.Optimize=0
r.Shaders.Symbols=1
3. Launch the test project.
4. Observe the check()
5. Comment out the cvar "r.Shaders.Optimize=0" in ConsoleVariables.ini
6. Launch the test project.
7. Observe the test project launches successfully.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-219358 in the post.
0 |
Component | UE - Rendering Architecture - Shaders |
---|---|
Affects Versions | 5.4, 5.4.2 |
Created | Jul 15, 2024 |
---|---|
Updated | Jul 22, 2024 |