Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.1p2
Issue ID
945284
Regression
No
material.shaderKeywords output the same results even if there are different keywords created with Shader Variants
Reproduction steps:
1. Open project attached (New Unity Project 2.zip)
2. Open scene "Test".
3. Press Play.
4. Inspect console.
Expected result: Output result from different objects will be different due to shader variants:
Cube will output additional information about "ForwardBase DIRECTIONAL".
Cylinder will output additional information about "ForwardBase DIRECTIONAL_EMISSION".
Actual result: They are identical.
Reproduced on: 5.5.0f3, 5.6.3p2, 2017.2.0b9, 2017.3.0a6
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment