Search Issue Tracker
Won't Fix
Votes
9
Found in
5.5.2p4
Issue ID
907129
Regression
No
Selecting shader for a material resets custom Render Queue to default shader value
When shaders are switched for materials, their custom Render Queue is reset to default shader value.
Steps to reproduce:
1) Open the attached project.
2) In the Assets folder, select 'Mat' material.
- In the Inspector, notice that the shader for this material is set to 'Mobile/Bumped Diffuse'.
- The custom Render Queue is set to 'Custom: 2050'.
3) Select any shader for the material, via the 'Shader' dropdown in the Inspector.
Selecting any shader, even the same shader that is already selected resets the custom Render Queue to 2000 (From Shader).
Expected result: custom Render Queue remains unchanged when switching shaders.
Actual result: custom Render Queue gets reset when switching shaders.
Reproduced on:
2017.1.0b3, 5.5.3p2, 5.5.0f3
Comments (4)
-
Berchet3D
Feb 04, 2020 14:17
Can reproduce in 2019.2.9f1.
-
tomix1024
May 04, 2018 14:55
See here https://forum.unity.com/threads/setting-the-render-queue-for-standard-shader.508767/#post-3484808 for a more permanent workaround for the issue...
-
OwlBoy-
Aug 30, 2017 23:45
Workaround:
Open the Debug inspector and change the order there. And then never click that shader with the default inspector again.
-
BlueScreenISU
Jul 07, 2017 21:09
Confirmed.
Wanted to change Render Queue for my material. Works until you select it in the editor. It resets to it's default then.
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
- Material Component has two horizontal lines under it when its foldouts are closed
- Some selected Mesh Renderer Materials lead to Assets folder when pinged
- Editor colors appear darkened out when HDR Display Output is enabled
- Default Mesh Renderer Material cannot be found in the Select Material window after removing it from the GameObject
- UI Builder button text disappears in the GameView when the radius of the button is increased in a specific project
Resolution Note:
[various]
Closing a number of older lower priority bugs that would not block a production.