This is a regression tested in //UE4/Release-4.27 CL 18319896


Visualizing Custom Stencil Buffer returns incorrect results when an Actor with Render CustomDepth Pass enabled is visible.

Steps to Reproduce
  1. Create a  Third person Template project
  2. Place the 'ThirdPersonCharacter' in the scene so that's its visible
  3. Enable 'Render CustomDepth Pass' on the 'ThirdPersonCharacter'
  4. In the Viewport set View Mode to Buffer Visualization > Custom Stencil

Expected Results:
Character and Scene are render black

Actual Results:
When ever the character is visible RBGA artifacts are present

Have Comments or More Details?

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

Login to Vote

ComponentUE - Graphics Features
Affects Versions5.0.3
Target Fix5.4
Fix Commit26775620
Main Commit26775668
CreatedSep 15, 2022
ResolvedAug 2, 2023
UpdatedSep 7, 2023