Search Issue Tracker
By Design
Votes
0
Found in
2017.2.0b4
Issue ID
939194
Regression
No
Material changes are not applied to child Game Object when parent is using a UI Mask Component
To reproduce:
1. Open the "Scene" scene in the user attached project
2. Select the "Material" from the Assets folder
3. Change the value of the "Invert" slider in the Inspector
4. In the Scene view, observe that it only affects the left image (whose parent Game Object does not have a UI Mask component attached)
Desired outcome: Child Game Object of a parent that uses a UI Mask Component should reflect changes made to the material.
Actual result: Using a UI Mask Component causes material changes not to be updated on child elements.
Note: The material has to be reimported for the changes to be applied.
Reproduced with 5.5.4p2, 5.6.3f1, 2017.1.0a1, 2017.1.0p3, 2017.2.0a1, 2017.2.0b6, 2017.3.0a3
Update: The issue is by design since materials for items under a mask component are copied. Thus changing a material via inspector will not affect the material used for rendering. Any effects need to be accessed via MaterialForRendering and thus can't be batch applied.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- UI Overlay Image gets darker on each Camera when multiple Cameras are used
- Assertion failed on expression: 'scriptedImporterClass == SCRIPTING_NULL error when opening the standalone profiler window
- Disabled assets in Import Unity Package window aren't tracked but count as being selected by user
- [Windows] Crash on GetManagerFromContext when video is playing and creating High Definition 3D Projects after FMOD failed to switch back to normal output Error appeared
- GC Alloc produced when adding items to MultiColumnListView with Auto Assign Binding
Add comment