Search Issue Tracker

Fixed in 2018.3.X

Votes

1

Found in

2018.2.0b7

Issue ID

1048844

Regression

No

TextMesh Pro text is visible outside the mask when its Text Component is inside RectMask2D nested in another RectMask2D

uGUI

-

How to reproduce:
1. Open the "SampleScene" scene in the attached project

Expected result: The text that says "THIS SHOULD NOT BE VISIBLE" is not visible in the scene.
Actual result: The above-mentioned text is visible.

Reproducible with - 2017.1.0a1, 2017.1.4p2, 2017.2.3p1, 2017.4.5f1, 2018.1.5f1, 2018.2.0a1, 2018.2.0b9, 2018.3.0a2

Note: The issue is not reproducible with text which should be half visible, or when using built-in Text and Image components.

Comments (1)

  1. BL_DC

    Jul 16, 2018 06:46

    We had a similar issue with the TMPro text not being clipped inside nested masks. In our case it was only occurring with text that is bold. If bold is turned off, our you use a bold font instead, it works as expected.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.