Search Issue Tracker

Fixed in 2018.1

Votes

0

Found in

2017.3.0f3

Issue ID

994413

Regression

No

Changes to the UI Image material color doesn't show up when the Image is masked

uGUI

-

To reproduce:

1. Open the project, attached by the user (Shader Mask Bug.zip)
2. Open the "Test" scene
3. Enter Play mode
4. Press Random Color button
5. Press Toggle Mask button a few times

Expected: changes to UI elements material show up on screen even when the element is masked with UI Mask

Reproduce in 5.6.5f1, 2017.1.3p1, 2017.2.1p3, 2017.3.0p4, 2018.1.0b5

By design: masked materials are copies of the original material with additional properties added through code. Setting the color on the original will not propagate through to the copy and we don't want to create the copy every frame due to performance costs "just in case the original has changed"

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.