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
2k stars 262 forks source link

No Soft Mask settings available in Unity 2022.3.19f1 #181

Closed hexenwerkgames closed 1 month ago

hexenwerkgames commented 1 month ago

Description When I replace a standard Mask with a Soft Mask, it looks already better with the default settings. But I cannot change those settings.

In the screenshots shown on the github project page, there are some settings/sliders shown for this component:

To Reproduce Steps to reproduce the behavior:

  1. Create a Scene
  2. Create a Canvas
  3. Create a UI Image
  4. Select some Sprite as mask for this image
  5. Create another UI Image as child of the masking image
  6. Add the Soft Mask Script to the masking image

Expected behavior The Soft Mask script component shows the same settings I can see in the Soft Mask project description on github.

Environment (please complete the following information):

Additional context I also downloaded the sample scenes. There I cannot see the settings either. So it doesn't look to me like I forgot to add another needed component or something. I haven't touched the soft maskable shader feature yet.

But: The "soft mask" component I can add to the game objects isn't marked as "(script)" like the other soft mask scripts. This seems kinda weird to me, since in the screenshot it says (script) as well.

So I cannot be completely sure that this is a bug and not me doing something wrong here. But maybe this is a problem with more recent Unity versions?

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

mob-sakai commented 1 month ago

Version 1.7.0 does not exist in my package. Also, I don't recognize those options. Is there another "SoftMask" installed in your project? Please attach a screenshot of the inspector.

hexenwerkgames commented 1 month ago

Uh, this is a bit embarassing. Indeed I had accidentally installed another Soft Mask Package instead of yours and didn't notice.

So this issue can be closed.