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
- PlayerPropertiesChanged event fires before Player Properties are applied
- Opening Media Pop-out in “Before You Start” Tutorial throws “Styles” and “Styles_Dark” messages in the Console window
- Play Mode Scenario selection/highlight is too long and out of its bounds when the Play Mode Scenario window is opened after maximizing
- Asset name is not shown in the Undo History window when a sprite is modified
- Moving a Tab to a floating window fails when floating windows are docked next to each other
Resolution Note:
[various]
Closing a number of older lower priority bugs that would not block a production.