Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2018.1.X
Votes
13
Found in
2017.3.0b3
Issue ID
958177
Regression
Yes
RectMask2D stops masking, when it's child has a child with Mask and Image components inside the RectMask2d area
It reproduces when UI Object with a "Rect Mask 2D" has a child object (which is not the first child in hierarchy) which also has a Child with Image(script) and Mask(script) components. Also, there must be another UI element on the Canvas, so that object with the "Rect Mask 2D" is not the most bottom child of Canvas.
To reproduce:
1. Open "Test" scene, from "SimplerUiProject.zip"
2. Open Game (or Scene) window and inspect, that RectMask2d is working correctly.
3. In Hierarchy find "Canvas -> RectMask -> Parent_of_Mask" and enable "Parent_of_Mask" object.
Expected result: Enabling this object does not change the way RectMask2d works.
Actual result: RectMask2d is no longer working.
Reproducible: 2017.2.0b6, 2017.2.0f3, 2017.3.0b4, 2018.1.0a1
Not Reproducible: 2017.2.0b5
Workaround:
Make sure Object with RectMask2D is the bottom child in Canvas.
Comments (11)
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
- Editor is stuck in an infinite reimport loop when a specific project is reloaded
- Editor gets stuck on the "Reloading Domain" window when the Play Mode is entered and exited a few times in a short period
- Undoing Animator Parameter name change breaks references to it
- Crash on BV4_OverlapBoxAll when moving in play mode
- Custom mesh water surface normal map fades out when Y Position increases
dron_megatron
Nov 03, 2017 13:03
Reproduced in 2017.3.0b7