Search Issue Tracker
Fixed in 2018.1.X
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
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"
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment