mob-sakai / SoftMaskForUGUI

UI Soft Mask is a smooth masking component for Unity UI (uGUI) elements.
https://github.com/mob-sakai/SoftMaskForUGUI
MIT License
1.9k stars 255 forks source link

Non-maskable TMPro text masks until "Maskable" re-disabled #164

Open APTEM591 opened 5 months ago

APTEM591 commented 5 months ago

Describe the bug Text is not visible even with Maskable disabled

To Reproduce Steps to reproduce the behavior:

  1. Instantiate prefab under SoftMask
  2. Set this object active (which is child of another object in my situation)
  3. Background image is visible outside the mask, text is not.

Expected behavior Text won't be masked outside the mask, same as background.

Environment (please complete the following information):

Additional context It fixes if I enable Maskable and disable it, only in the inspector, doesn't work from code.

mob-sakai commented 1 month ago

Thank you for your reporting! Could you please attach a minimal project (included Assets, Packages and ProjectSettings directories) that reproduces the issue?

repos