Search Issue Tracker

Fixed in 12



Found in [Package]


Issue ID




[URP] Handles with set zTest do not respect Depth Sorting in the Game view

Package: Scriptable Render Pipeline Universal


How to reproduce:
1. Open the attached project named "Case_1302504"
2. Open the SampleScene
3. Observe the Scene view - Top half of the cube is rendered clearly while the bottom half is rendered with a green tint since it is covered by the Gizmo
4. Observe the Game view (check if Gizmos are enabled)

Expected result: The Game view is rendered the same way as the Scene view
Actual result: The cube is rendered as if it was fully covered by the Gizmo

Reproducible with: 10.1.0(2020.2.0b9), 10.2.2(2020.2.2f1), 11.0.0(2021.1.0b2), 12.0.0(2020.2.0a2)
Not reproducible with: 7.5.2(2019.4.18f1), 10.0.0-preview.26(2020.2.0b9)
Could not test with: 2018.4(URP was in early preview)

1. Seems to be related to the Render Pipeline asset. An RP asset generated with 10.0.0-preview.26(or below) can be used in the newer package versions and the issue would not reproduce. The same applies in the reverse. An RP asset generated with 10.1.0(or newer) would cause an issue even if the package is downgraded to 7.x.x or 10.0.0-preview.26
2. Does not reproduce with HDRP. Tested with 10.2.2(2020.2.2f1)

  1. Resolution Note (fix version 12):

    Fixed in - 2021.2.0a16 and URP 12.0.0

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.