com.unity.uiextensions icon indicating copy to clipboard operation
com.unity.uiextensions copied to clipboard

BUG: UILineRenderer masking does not work

Open blizzard384 opened this issue 1 year ago • 1 comments

Unity UI Extensions Bug Report

Describe the bug

The masking is not working when using the UILineRenderer as a child of scroll view

To Reproduce

  1. Create scroll view
  2. Put UILineRenderer as a child of a content
  3. Scroll the view so that the UILineRenderer is outside of the view

Expected behavior

UILineRenderer is correctly masked outside of the scroll view

Actual behavior

UILineRenderer is displayed outside of the scroll view

Screenshots

image

Your Setup

  • Operation System:
    • [X] Windows
    • [ ] MacOs
    • [ ] Linux
    • [ ] Other
  • Unity Version: 2022.3.8f1
  • Unity UI Extensions Version
    • 2.3.2

Additional context

blizzard384 avatar Jul 04 '24 14:07 blizzard384

I think this might actually be a limitation of the UI Masking system. I'll investigate, but I suspect it might either need the UI component dumped to a texture, or a custom Masking component to make it work.

SimonDarksideJ avatar Jul 21 '24 11:07 SimonDarksideJ