Skip to content

Issues with multi-display setup (SoftMaskTex empty) #264

@Propel-antonin

Description

@Propel-antonin

Describe the bug
There seems to be an issue with multi display setups. (When you're got multiple cameras, with multiple UI canvas rendering to different display indices).

Depending on which canvas is the "main" display, and which one aren't, certain UI elements will get entirely black UI mask textures and disappear. The bug seems to be really inconsistent and hard to reproduce.

Image Image Image Image Image

To Reproduce
Steps to reproduce the behavior:

  1. Duplicate "ScrollRectTest" scene.
  2. Duplicate every camera/canvas, assign one of each to display 2
  3. Embed another mask (e.g. another scroll rect) within the display 2 scroll rect (see fig 1)
  4. Press play
  5. Duplicate the game view, one on display 1 and one on display 2
  6. Click on display 1
  7. Notice how one of the mask on display 2 might disappear (see fig 2)

Fig 1:
Image
Fig 2:
Image

Expected behavior
The mask on the second screen should not disappear once the first screen is focused. This bug also happens in a build.

Environment:

  • Version 3.5.0
  • Platform: Both Windows Editor & Build
  • Unity version: 6000.0.58f2

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions