Description

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]

 

Callstack

[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.

1
Login to Vote

Backlogged
ComponentUE - Graphics Features
Affects Versions4.26
CreatedJun 3, 2021
UpdatedSep 22, 2022