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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
[various]
Closing a number of older lower priority bugs that would not block a production.