Description

Shader symbols are not generated for the Windows platform.

Attempts were made to set the r.Shaders.Symbols=1 value in the projects DefaultEngine.ini, the engines ConsoleVariables.ini and the engine BaseEngine.ini.

The licensee has noted that "When TPlatformShaderSymbolData is deserialized, SymbolData.GetFilename() returns empty on Windows."

Steps to Reproduce

1. Add r.Shaders.Symbols=1 to the [ShaderCompiler] section of a projects DefaultEngine.ini
2. Cook the project for the Windows platform
3. Observe the log message output "LogShaderSymbolExport: Display: Shader symbol export enabled. Output directory: <Project Location>/Saved/ShaderSymbols/<Shader Format>"
4. Wait for the cook to finish
5. Navigate to the file location described in the output log
6. Observe the empty folder

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-252263 in the post.

4
Login to Vote

Fixed
ComponentUE - Rendering Architecture - Shaders
Affects Versions5.5
Target Fix5.6
Fix Commit40541058
CreatedFeb 28, 2025
ResolvedMar 7, 2025
UpdatedMar 10, 2025
View Jira Issue