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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.