Search Issue Tracker
By Design
Votes
0
Found in [Package]
9.0.0-preview.33
Issue ID
1362609
Regression
Yes
Sorting Priority does not work when Receive SSR Transparent is enabled on a Transparent Material
Reproduction steps:
1. Open the attached "1362609.zip" project
2. Open "OutdoorsScene" Scene
3. Go to "River 2" GameObject and expand "River 2 (Material)" by clicking the small triangle next to it
4. In the Surface Options of "River 2 (Material)" enable Receive SSR Transparent
5. Enter the Play Mode and observe the Plane GameObjects
Expected result: GameObject with higher Sorting Priority gets rendered over the GameObject with lower Sorting Priority
Actual result: GameObject with lower Sorting Priority gets rendered over the GameObject with higher Sorting Priority
Reproducible with: 9.0.0-preview.33 (2020.1.0b13), 10.6.0 (2020.3.18f1), 11.0.0 (2021.1.20f1), 12.0.0 (2021.2.0b11, 2022.1.0a8)
Not reproducible with: 7.7.0 (2019.4.30f1), 9.0.0-preview.13 (2020.1.0b12)
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
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Resolution Note:
The SSR transparent effect required to write into the depth buffer for the receiving Material. This is not compatible with the priority system. Priority is only between Material who don't write in depth buffer. Documentation will be updated to reflect it.