Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.1.8-preview
Issue ID
1165451
Regression
No
[HDRP] UI Mask is ignored when UI element containing the Mask is placed infront of Gameobject with Subsurface Scattering
How to reproduce:
1. Open the attached project("Test_2018.3.6f1")
2. Go to Project > Assets > Scenes > Sample Scene
3. Observe Game View window
Expected results: only the circle is visible
Actual results: part of the white rectangle is visible
Reproducible with: 2018.4.3f1(4.10.0), 2019.1.8f1(5.16.1), 2019.2.0b8(6.7.1), 2019.3.0a8(6.5.3)
Notes:
- Couldn't test package versions before 1.1.8-preview due to incompatibility errors.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Resolution Note:
The issue comes from the fact that the default UI shader tests stencil with a ref of 1. This is not compatible with HDRP which uses stencil buffer in a very different way from legacy. It is advised to use HDRP unlit shader when doing world UI like this.