- Home /
RectMask2D clips Text component incorrectly - Minimal Working Example linked
I have the following hierarchy, Canvas > MessageScroller (Rect Mask 2D) > Message > Text.
When I scroll the Text inside the MessageScroller it will correctly clip to the right hand bounds of the Rect 2D Mask but will disappear entirely when it crosses the left hand side of the bounds.
Can anyone tell me why this is the case?
A minimal working example can be found here.
Answer by yasirkula · Mar 01, 2020 at 07:17 AM
Had this issue 3 years later. Turnes out that my Texts had a Width value of 0 and thus, got clipped when their RectTransform got out of bounds.
Your answer
Follow this Question
Related Questions
Using UI Text as as mask for an underlying image 2 Answers
Mask Sprites 1 Answer
Select layers to mask in RectMask2D component 0 Answers
Broken UI Mask and downsides of using OpenGLES2 0 Answers
Poke hole in UI Image? 1 Answer