Search Issue Tracker
By Design
Votes
9
Found in
4.6.0b20
Issue ID
642299
Regression
Yes
Mask component places UI elements behind world objects on RenderMode.OverlayCamera when camera is using Deferred Lighting
To reproduce:
1. Open attached project
2. Open test scene
3. Open MaskBug scene
4. Press Play
5. Notice that the buttons that have the mask component on them are obscured by the cube
Comments (3)
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- Crash with “Fatal Error! The file ‘MemoryStream’ is corrupted!” when adding a large number in Font Character Rects Size field
Zonerunner
Aug 26, 2015 10:01
I've been able to work around this issue by setting Camera.main.clearStencilAfterLightingPass = true;
I'm guessing it's to do with deferred rendering's lighting pass calculations co-opting the high bits of the stencil buffer. Would be nice to get a proper fix though, or I guess the presence of a mask in a scene setting this automatically?
SeigoSato
May 13, 2015 13:31
Still having this issue in Unity 5
Abl4ze
Feb 02, 2015 10:17
For me this also happens with the RenderMode being WoldSpace.