Description

1. When a Material Layer is applied and there is no node connected to Anisotropy in the master material(M_Test_1), the material does not function correctly after packaging, although it works properly in the editor.
2. In the case of Layered Material (M_Test_2), it appears correctly in both packaging and the editor.

[Link Removed]
[Link Removed]

3. Checking with RenderDoc from packaging, MI_Test_1_Sphere is missing from the AnisotropicPassParallel

[Link Removed]

Steps to Reproduce

1. Launch Test.uproject from the attached sample project.
2. In Play in Editor (PIE) mode, enter 'r.AnisotropicMaterials 1' and confirm that the Material (Red) with Material Layer applied functions correctly.
3. Package the project for the Windows platform and execute it.
4. After packaging, enter 'r.AnisotropicMaterials 1' and observe that the Material (Red) with Material Layer applied does not function correctly.
5. In the sample project, connect a Constant node to Anisotropy in MakeMaterialAttributes of M_Test_1.
6. Package the project for the Windows platform and execute it.
7. After packaging, enter 'r.AnisotropicMaterials 1' and confirm that the Material (Red) with Material Layer applied functions correctly.

Have Comments or More Details?

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

1
Login to Vote

Backlogged
CreatedJan 17, 2024
UpdatedJan 18, 2024