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:
- Create a Canvas with CanvasScaler
- Create an image using the UIEffect component and set GradationMode to any Gradient option
- Expectation:
- 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
Environment (please complete the following information):
- Version [5.10.2]
- Platform: [Editor(Windows),]
- Unity version: [2022.3.20]
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:
-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
Environment (please complete the following information):