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
- Objects near the screen edge are not culled when using GPU Occlusion Culling
- InvalidCastException is thrown when hovering over a Tilemap with a saved Random Brush pick containing empty cells
- [VisionOS] Animating a material property results in artifacts when the app mode is set to RealityKit and shader modifies the Vertex Shader
- "DirectoryNotFoundException" is thrown and Shader Graph does not open when opening a .shadegraph from a long path
- "Undo: Already found nextRootTransform, but with different state cached" error thrown when undoing changes made to the Hierarchy using a script
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