Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.2p2
Issue ID
893052
Regression
No
Material is not applied to the GameObject when ColorMask's RenderTarget is combined with Blend
To reproduce:
1. Open attached project;
2. Run asdf scene;
3. Press on Plane and see that is White (should be red);
4. Open shader _0;
5. Comment line Blend One Zero and un-comment Blend 0;1;2;3 One Zero; ( Notice that the Plate is red);
6. Open shader_0 again and switch back to the single line Blend;
Actual result: The plane is white when using Blend One Zero with ColorMask RGBA 3
Expected result: Using Blend One Zero with ColorMask RGBA 3 should give material color to the Game Object.
Reproduced in : 5.5.2p2; 5.5.2p3;5.6.0f2; 2017.1.0a4
Updated reproducible in: 2017.1.2f1, 2017.2.0f2, 2017.3.0b3
Note: if you change ColorMask 0 0 to ColorMask RGBA 0 and combine with Blend One Zero the Plane has red material.
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
- Red spots appear when Blending Lighting Scenarios using Adaptive Probe Volumes
- [Windows] About Unity Window needs to be opened twice to adapt to resolution
- NullReferenceException and temporary graph corruption after entering playmode if output node connection was changed
- Sprite Renderer with Animation does not reflect Sprite changes in the Scene when switching Mask Interaction
- User is redirected to a non-existing online documentation link when clicking on "?" help button inside Inspector window while Animator Override Controller is selected
Resolution Note:
won't fix as minor. Also there is a workaround already.
Use "Blend 0 One Zero" instead of "Blend One Zero"