Search Issue Tracker
Fixed in 12
Votes
0
Found in [Package]
10.1.0
Issue ID
1302504
Regression
Yes
[URP] Handles with set zTest do not respect Depth Sorting in the Game view
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)
Notes:
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)
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
- Resizing Profiler Module Details panel and releasing mouse button outside Unity doesn't cancel resize
- "Auto-hide gizmos" preference is not saved when reopening the project
- Sampling a custom depth texture on a machine with a GTX 1080 makes object's textures display the wrong color when in Play mode or Player
- Terrain is missing the Hidden/TerrainEngine/Details/WavingDoublePass shader when AssetBundles are built in older Unity Versions
- [Android] URP Project crashes when built on a device with PowerVR Rogue GE8320 GPU
Resolution Note (fix version 12):
Fixed in - 2021.2.0a16 and URP 12.0.0