Description

It seems the FEditorShaderCodeArchive.LoadExistingShaderCodeLibrary missed some functions, use FEditorShaderCodeArchive.AddShaderCodeLibraryFromDirectory instead could fix the issue.

Steps to Reproduce
  1. Create a project from ThirdPersonTemplate (Any project is fine).
  2. Use the Project Launcher to package window platform.
  3. Find and back up the folder "Saved\Cooked[Platform_ShaderFormat][ProjectName]\Metadata" in the project folder.
  4. Modify a material used in the scene, package the project again.
  5. Run commandlet ./UnrealEditor.exe -run=ShaderCodeLibraryTools "Prev MetaData Path" "New MetaData Path" "OutputPath"

It crashed at the following place.

[Image Removed]

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Rendering Architecture - Shaders
Affects Versions5.6
Target Fix5.8
Fix Commit48509796
CreatedNov 12, 2025
ResolvedNov 20, 2025
UpdatedNov 26, 2025
View Jira Issue