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

Package: Scriptable Render Pipeline Universal

-

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

  1. Response avatar

    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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.