Description

Widgets with a UI Material that uses Custom Stencil will not render meshes with a set stencil. This is working as expected in 4.19 CL# 4033788.

Found in 4.20 CL# 4369336, 4.21 CL# 4541578, and 4.22 CL# 4614594

This is a regression. 

Steps to Reproduce
  1. Open the Editor
  2. Go to project settings and set  Custom Depth-Stencil Pass to "Enabled with Stencil"
  3. Place any mesh in the level and set its stencil to 1
  4. Create a UI Material that uses Scene Texture set to Custom Stencil for final color
  5. Create a Widget with an image large enough to cover the mesh set to the UI Material.
  6. Play In another Editor window

Results:
With the mesh behind the Widget it will not be rendered

Expected:
The mesh would be rendered like the material next to it 

Have Comments or More Details?

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

2
Login to Vote

Fixed
ComponentRendering
Affects Versions4.204.214.22
Target Fix4.22
Fix Commit4641386
CreatedNov 30, 2018
ResolvedDec 7, 2018
UpdatedDec 7, 2018