mob-sakai / SoftMaskForUGUI

Enhance Unity UI (uGUI) with advanced soft-masking features to create more visually appealing effects!
https://github.com/mob-sakai/SoftMaskForUGUI
MIT License
2.04k stars 268 forks source link

Unable to get Soft Mask to work - console fills with errors #155

Closed Gekkosaurus-Dev closed 4 months ago

Gekkosaurus-Dev commented 1 year ago

Describe the bug Not able to use the soft mask. I get errors and cannot get it to work. Looks like there is another thread related to the soft mask not working in unity version 2020? Could this be related?

To Reproduce Steps to reproduce the behavior:

  1. Use Unity Package Manager to add SoftMaskForUGUI via https://github.com/mob-sakai/SoftMaskForUGUI.git
  2. Add a 2d circle sprite to the scene
  3. Add Soft Mask component
  4. Immediately the console is full of this error: image

I do not know what other way that I should be adding the Soft Mask if this is incorrect?

Environment:

RunoLight commented 1 year ago

Look into readme, there should be at least 2 objects, where parent has softmask and child has softmaskable components

mob-sakai commented 4 months ago

Sorry for my late reply. This package provides a soft mask for UI. SpriteRenderer is not supported.