Search Issue Tracker

Fixed

Votes

0

Found in

2020.3

2021.1.24f1

2021.2

2022.1

Issue ID

1373470

Regression

No

Depth Mask is not receiving "Global Post Process" effects

URP Features

-

How to reproduce:
1. Open project "Broken_DepthMask.zip"
2. Make both Scene and Game windows visible
3. Select "MainCameraRig" in the Hierarchy window and change its X coordinates in the Inspector window
4. Observe the Game window

Expected result: All objects in the Game window receive yellow color from the post-processing
Actual result: Some objects in the Game window receive yellow color from the post-processing

Reproducible with: 10.7.0 (2020.3.24f1), 12.1.1 (2021.2.4f1), 13.1.2 (2022.1.0b1)
Could not test with: 7.7.1 (2019.4.33f1) (Errors: "Assets/_Stuff/_UniversalRenderPipelineAsset/Script/DrawFullscreenPass.cs(26,30): error CS0115: 'DrawFullscreenPass.OnCameraSetup(CommandBuffer, ref RenderingData)': no suitable method found to override")

  1. Resolution Note:

    'Depth Mask' is receiving post processing but because both the base and overlay cameras have Post Processing checked, it results in both camera looking different due to the items in the base camera having double post processing applied.
    Solution to this issue is to only apply post processing once in the camera stack at the point where you need it to.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.