Search Issue Tracker
By Design
Votes
0
Found in [Package]
14.0.0
Issue ID
1396986
Regression
No
[URP] UI GameObject ordering is reversed in the Scene view when using a custom URP Renderer with a Stencil Buffer
How to reproduce:
1. Open the attached project "stencilRepro"
2. Open the scene "SampleScene" (Assets/Scenes/SampleScene.unity)
3. In the Project window, select the Asset "UniversalRenderer" (Assets/Settings/UniversalRenderer.asset)
4. In the Inspector window, disable the Component "Render Objects (Render Objects)"
5. In the Scene view, observe the text "New Text"
Expected result: The text is in front of the white panel
Actual result: The text is behind the white panel
Reproducible with: 7.7.1 (2019.4.35f1), 10.8.1 (2020.3.27f1), 12.1.4 (2021.2.10f1), 13.1.5 (2022.1.0b6), 14.0.0 (2022.2.0a3)
Note: The ordering remains consistent at all times in the Game view window
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note:
The Scene view renders what the Camera sees and what is modified by the Render Pipeline.
The Canvas Render Mode is set to Screen Space - Overlay, which renders directly to the device and doesn't get modified by the Render Pipeline.