Search Issue Tracker
Fixed in 2022.3.53f1
Fixed in 2022.3.X, 6000.0.X, 7000.0.0a9, future release
Votes
0
Found in
2022.3.23f1
6000.0.0b14
Issue ID
UUM-70625
Regression
No
RenderParam.renderPriority is ignored when rendering Mesh with Graphics.RenderMesh()
Reproduction steps:
1. Open the attached “Bug.zip” project
2. Open the “SampleScene” scene
3. Open the Frame Debugger Window (Window > Analysis > Frame Debugger)
4. Enable the Frame Debugger
5. On the slider at the top go through Events and observe the Output screen
Expected result: The cubes in the center are rendered based on their RenderParam.renderPriority value
Actual result: The cubes in the center have the same render priority as Mesh with layer order set to “0”
Reproducible with: 2021.3.37f1, 2022.3.23f1, 2023.2.18f1, 6000.0.0b14
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note:
- The generated cubes get rendered in-between “Mesh Cube red S0” and “Mesh Cube blue S0” which both have their “Order in Layer” set as “0”
- The mesh draw script is attached to the “Bug” GameObject in the Hierarchy
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
- UI Toolkit World UI Text Field unfocuses immediately when clicking on it using XR Controller
- Crash on CallWindowProcW when entering Play mode for the second time and running the Editor in the background while using System.Windows.Forms functions
- 2D Freeform Light shadows disappear when light center is offset from shape bounds
- Crash on MarkAllDependencies when opening scenes with Assets from the YarnSpinner package
- Crash on CollectAllSceneManagerAndObjectIDs when opening a specific Scene
Resolution Note (fix version future release):
Documentation for RenderParams.rendererPriority was updated to indicate that it is only to be used with HDRP.
Resolution Note (fix version 6000.0):
Documentation for RenderParams.rendererPriority was updated to indicate that it is only to be used with HDRP.
Resolution Note (fix version 2022.3):
Documentation for RenderParams.rendererPriority was updated to indicate that it is only to be used with HDRP.