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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
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.