Shader compilation error occurs when using values sampled from texture for Customized UV1. No problem when connected to Customized UV0.

This problem compiles well if I change the value of Const to Parameter as a workaround.
[Image Removed]

Steps to Reproduce

1. Create a Material and Set the number of Customized UVs to 2 or more.

[Image Removed]

2. An error occurs when connecting the value of the sampled texture to CustomizedUV1.

[Image Removed]



[SM5] /Engine/Generated/Material.ush(2308,29-34): error X3004: undeclared identifier 'Local1'

Have Comments or More Details?

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

Login to Vote

ComponentUE - Rendering
Affects Versions4.26
CreatedJun 3, 2021
UpdatedSep 22, 2022