-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Description
Describe the bug
In Unity, when 2 GameObjects with FigmaImage and Mask components overlap, the upper mask does not work.
If the upper object is inside the other one, the masks work as intended.
To Reproduce
Steps to reproduce the behavior:
- Create GameObject under Canvas
- Add FigmaImage and Mask components (make the FigmaImage elliptic)
- Add a child GameObject with FigmaImage component (give it a colour)
- Clone the parent GameObject (change the colour of the new child)
- Try moving the upper object so they overlap
Expected behaviour
Overlapping masks should be independent.
Prefab
Here is a zipped prefab (from the screengrab) to import into a project that contains FigmaImage.
FigmaImageMasks.prefab.zip
** Version**
- Unity 2022.3
- macOS
- URP
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
