Search Issue Tracker
Fixed in 3.2.0-pre.2
Fixed in 2.2.0-preview.2
Votes
6
Found in [Package]
2019.4.18f1
2019.4.24f1
2020.3
2021.1
2021.2
Issue ID
1331297
Regression
No
RectMask2D Softness property has no effect when used on TextMeshPro Text
How to reproduce:
1. Open the user's attached "TMP_Soft_Mask.zip" project
2. Open the "SampleScene" Scene
3. Observe the Game view
Expected result: Softness is applied to both TextMeshPro and regular UI Text
Actual result: Softness is not applied to TextMeshPro Text
Reproducible with: 2019.4.18f1, 2019.4.26f1, 2020.3.7f1, 2021.1.6f1, 2021.2.0a16
Not reproducible with: 2018.4.34f1, 2019.4.17f1
Note:
- The issue is not reproducible on regular UI Text
- The issue is also reproducible in Windows Player
-
Dust999Games
Oct 18, 2023 19:49
I'm fixed it with that changes...
Temp solution fix shader TMP_SDF.shader add soft mask into it
1) Add two params from soft mask on line 161
float _UIMaskSoftnessX;
float _UIMaskSoftnessY;Replace line 227 with the next code.
output.mask = half4(vert.xy * 2 - clampedRect.xy - clampedRect.zw, 0.25 / (0.25 * half2(_UIMaskSoftnessX, _UIMaskSoftnessY) + pixelSize.xy));
Add soft mask in calculations
-
rutgerkra
Dec 16, 2021 08:39
I see there are newer versions, but they are still pre-release. My editor version doesn't show these in the Package Manager even after I enabled pre-release packages, but that is a different issue.
-
rutgerkra
Dec 16, 2021 08:20
Still having this issue while running editor 2021.2.6. The newest TMP version in Package Manager is still 3.0.6 from April 22, 2021, so before the comment of Stephan saying that it would be fixed in the next release. Does this mean that the next release is still pending? Any update on when this is released? Otherwise I'll have to try to find a different solution.
-
Stephan_B
May 27, 2021 05:02
I will be adding support for the above in the next release of the TMP package. This will require an update of the Shaders included in the TMP Essential Resources.
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
- Selector gets stuck in UI if scroll is used while dragging
- Created asset is placed in a new folder when creating a new folder and instantly creating an asset by clicking somewhere else
- Selecting and deleting transition in Animator does not add to Undo History when animation is previewed in Inspector
- GameObjects remain static when updating constraints of PhysicsJoint with "Enable Sleeping" selected in Havok Physics Configuration
- [iOS] Touch input is not clocked and UI is unresponsive when the application is paused mid-drag without lifting the finger
Resolution Note (fix version 3.2.0-pre.2):
Fixed in 3.2.0-pre.2
Resolution Note (fix version 3.2.0-pre.2):
Fixed in 3.2.0-pre.2 (2021.2.2f1)
Resolution Note (fix version 3.2.0-pre.2):
Fixed in 3.2.0-pre.2 (2020.3.22f1)
Resolution Note (fix version 3.2.0-pre.2):
Fixed in 3.2.0-pre.2
Resolution Note (fix version 2.2.0-preview.2):
Fixed in 2.2.0-preview.2