This appears to be from an interaction between the Depth Fade Expression, clip() in a Custom Expression, WPO being enabled, and the fact that the pass that draws objects for the editor outline runs at full resolution, while the depth sampled by DepthFade is scaled down for the Screenpercentage. The bug itself appears to be in the Depth Fade Expression not taking into account Screenpercentage.

Steps to Reproduce

1. Download the Licensee test project and open (see addl info URL)
2. Select the red square
3. Observe that its outline does not match the mesh
4. Change the screenpercentage to 100
5. Observe the outline now matches the visible part of the mesh

Have Comments or More Details?

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

Login to Vote

ComponentUE - Graphics Features
Affects Versions5.45.4.1
CreatedMay 3, 2024
UpdatedMay 16, 2024