Search Issue Tracker
Fixed in 10.0.0-preview.26
Votes
2
Found in [Package]
7.0.0
Issue ID
1222762
Regression
Yes
[URP] Sorting Fudge does not sort particles when Shader Graph and URP shaders are used
How to reproduce:
1. Open user's attached 'bugs.zip' project
2. Open 'SampleScene' Scene
3. Notice that 'ps_graphMat_white' GameObject contains Shader Graph shader and 'ps_LWRPmat_red' contains URP/Particles/Unlit shader
4. Select 'ps_graphMat_red' GameObject in the Hierarchy
5. Open Renderer module in the Inspector and set Sorting Fudge property to 150
Expected result: White particles appear in front of red particles
Actual result: Nothing happens when Sorting Fudge property is being tweaked
Reproducible with: 7.0.0(2019.3.0a9), 7.2.1, 8.0.1(2019.3.5f1, 2020.1.0b1, 2020.0a2)
Not reproducible with: 4.10.0(2018.4.18f1), 6.9.2(2019.2.21f1)
Can not test with: 2017.4.38f1(URP is not introduced)
Notes:
- Reproducible on macOS
- Video of reproduction attached in Edit
- Not reproducible with the same type of shaders (for example if both shaders are Shader Graph shaders or both shaders are URP shaders)
- The issue seems to appear when Priority feature was introduced in the shader settings
- Workarounds to the issue are to set Priority in the shader settings to 50, set appropriate Render Queue on Shader Graph material or set sorting layers in the particles Renderer module
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 (fix version 10.0.0-preview.26):
Standard URP material had a default offset of +50 on the renderqueue, this is now reverted to line up with shadergraph and builtin
Fixed in URP 10.0.0 - preview.26