Description

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

Steps to Reproduce
  1. Package a project, back up the folder "Saved\Cooked[Platform_ShaderFormat][ProjectName]\Metadata"
  2. Modify a material, package the project again.
  3. 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.

0
Login to Vote

Unresolved
CreatedNov 12, 2025
UpdatedNov 12, 2025
View Jira Issue