Search Issue Tracker
Fixed
Fixed in 2022.3.53f1, 6000.0.20f1, 7000.0.0a9
Votes
0
Found in
2022.3.23f1
6000.0.0b14
7000.0.0a1
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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note (fix version 7000.0.0a9):
Documentation for RenderParams.rendererPriority was updated to indicate that it is only to be used with HDRP.
Resolution Note (fix version 6000.0.20f1):
Documentation for RenderParams.rendererPriority was updated to indicate that it is only to be used with HDRP.
Resolution Note (fix version 2022.3.53f1):
Documentation for RenderParams.rendererPriority was updated to indicate that it is only to be used with HDRP.