in UMaterial::GetAllReferencedExpressions, the mobile branch ignores every CustomOutputExpressions including RuntimeVirtualTextureOutput.

Steps to Reproduce

1、Enable Virtual Texture Support on Mobile

2、Create a ordinary landscape RVT map, and do not use VirtualTextureFeatureSwitch in the RVT Material(layer samples are only connected to RuntimeVirtualTextureOutput instead of MaterialProperties)

3、Change preview level from SM5 to es3.1 and you will notice that the es3.1 preview is not sampling any layer's weight at all

Have Comments or More Details?

There's no existing public thread on this issue, so head over to AnswerHub just mention UE-115033 in the post.

Login to Vote

Affects Versions4.26
Target Fix4.27
Fix Commit16237884
Main Commit16237858
Release Commit16237884
CreatedMay 6, 2021
ResolvedMay 8, 2021
UpdatedJun 21, 2021