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
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Add comment