Description

REGRESSION: Does not occur in 4.24

Materials using Texture 2D Arrays have the following errors:

[SM5] /Engine/Generated/Material.ush(2225,107-114):  error X3004: undeclared identifier 'Material'
[SM5] /Engine/Generated/Material.ush(2225:107): error: use of undeclared identifier 'Material'
	        float4  Local1 = ProcessMaterialLinearColorTextureLookup(Texture2DArraySample(Material_Texture2DArray_0, Material.Texture2DArray_0Sampler, float3 (Parameters.TexCoords[0].xy,0.00000000)));
	                                                                                                                 ^
[SM5] D3DCompileToDxil failed

Steps to Reproduce
  1. Download and extract the attached project.
  2. Open the project in editor.
  3. Open TestMat.

RESULT

Material has compile errors

Have Comments or More Details?

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

8
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.25
Target Fix4.25.1
Fix Commit13184685
Main Commit14151001
Release Commit13184685
CreatedApr 29, 2020
ResolvedMay 5, 2020
UpdatedAug 26, 2020
View Jira Issue