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
-
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
Resolution Note:
[various]
Closing a number of older lower priority bugs that would not block a production.