Skip to content

GradationMode may affect by CanvasScaler #380

@wojiuxuihuan

Description

@wojiuxuihuan

Describe the bug
GradationMode under the influence of CanvasScaler can lead to different results (inconsistent display in Scene and Game windows)。

To Reproduce
Steps to reproduce the behavior:

  1. Create a Canvas with CanvasScaler
  2. Create an image using the UIEffect component and set GradationMode to any Gradient option
  3. Expectation:
  4. Result:
    -The image presentation in the Scene and Game windows is inconsistent
    -Changing the scaling settings of the CanvasScaler component will also change the image

Expected behavior
The image is a complete gradient image, and the Scene and Game windows are presented consistently.

Screenshots

Image Image

Environment (please complete the following information):

  • Version [5.10.2]
  • Platform: [Editor(Windows),]
  • Unity version: [2022.3.20]

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