Skip to content

Masking doesn't work when another display is in focus #225

Open
@CDTR-MattConroy

Description

@CDTR-MattConroy

Describe the bug
When using multiple displays, and a display other than the one where the SoftMask is present is focused, the SoftMask no longer works and renders no content. When focusing the display where the SoftMask is present, then the SoftMask renders correctly again.

To Reproduce
Steps to reproduce the behavior:

  1. Set up multiple canvas, each mapped to separate displays.
  2. Add a SoftMask to the Canvas on Display 1.
  3. Switch focus to Display 2.
  4. See the SoftMask stop rendering.

Expected behavior
SoftMasks work correctly regardless of which display is in focus

Screenshots
Focused:
Image

Not focused:

Image

Environment (please complete the following information):

  • Version 2.4.5
  • Platform: Editor(Windows), Standalone(Windows)
  • Unity version: 2023.2.20f1

Additional context
none

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneed more infoNeed more information to help

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions