Description

When using a custom stencil on GeometryCache actors it does not work in editor or render pass.

Found in 4.20 Preview 5 CL# 4173640 and 4.21 CL# 4198240

Steps to Reproduce
  1. Open the editor
  2. Go to project settings and set "Custom Depth-Stencil pass" to "Enabled With Stencil"
  3. Import the attached file as a geometry cache
  4. Place the item in the geometry cache actor in the level
  5. Place a cube in the level
  6. Enable "CustomDepth" on both the cube and geometry cache
  7. Set their stencil value to anything other than 0
  8. Change the view mode from lit to "Custom Depth" under "Buffer Visualization"

Results:
The imported geometry cache actor will not show up even with the custom depth enabled, but the cube will.

Expected:
Both the cube and imported geometry cache would show up in the custom depth visualization

Have Comments or More Details?

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

8
Login to Vote

Fixed
Fix Commit4751766
Main Commit4803543
Release Commit4862694
CreatedJul 10, 2018
ResolvedJan 18, 2019
UpdatedApr 21, 2020