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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
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.