Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2019.4.X, 2020.1.X, 2020.2.X
Votes
1
Found in
2018.4
2019.4
2020.1
2020.2
Issue ID
1261620
Regression
No
[Bug] Frame Debugger does not show all keywords used by the shader when certain shader_feature directives are used
How to reproduce:
1. Open the attached project named "Case_1261620"
2. Open the Test Scene
3. Click Window -> Analysis -> Frame Debugger -> Enable
4. Select one of the Spheres in the draw sequence
5. Observe the details of the Unlit/Test shader
Expected result: There is a COLOR_GREEN keyword listed in the Keywords section
Actual result: COLOR_GREEN keyword is not listed. Since it was the only keyword used in the shader, the whole Keywords section is missing
Reproducible with: 2018.4.26f1, 2019.4.5f1, 2020.1.0f1, 2020.2.0a19
Graphics APIs affected: D3D11, D3D12, OpenGLCore, Metal
Graphics APIs not affected: Vulkan
Notes:
1. Reproducible when shader_feature_local_fragment or shader_feature_fragment is used. Usually, does not reproduce when shader_feature_local or shader_feature is used.
2. Reproducible with the built-in renderer, URP(8.1.0, 9.0.0-preview.35) and HDRP(8.1.0)
3. shader_feature_local_fragment and shader_feature_local did not toggle the keyword in 2018.4.26f1(Track_12612620_V1)
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
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Resolution Note (fix version 2021.1):
Fixed in - 2021.1.0a6
Resolution Note (fix version 2020.2):
Fixed in - 2020.2.0b14
Resolution Note (fix version 2020.1):
Fixed in - 2020.1.16f1
Resolution Note (fix version 2019.4):
Fixed in - 2019.4.17f1