Search Issue Tracker
Won't Fix
Votes
0
Found in
5.3.2p3
Issue ID
770056
Regression
No
Multiple shader variant _ALPHABLEND_ON w/ optional parameter alpha:premul doesn't compile
Steps to reproduce:
1. Create new "Standard Surface Shader"
2. Replace line 14 (#pragma surface surf Standard fullforwardshadows) with:
#pragma shader_feature _ALPHAPREMULTIPLY_ON
#pragma surface surf Standard alpha:premul
Actual result: Shader does not compile
Expected result: Shader does compile
Tested and reproduced on:
Windows 10
Unity 5.1.4f1, 5.2.4p1, 5.3.3f1, 5.4.0b7
Note: Using multi_compile instead of shader_feature does let you compile the shader
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