Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
12.1.0
Issue ID
1376681
Regression
Yes
URP shaders used in UI Images are rendered incorrectly
Reproduction steps:
1. Open user-submitted project
2. Open "UI shader bug" Scene
3. Enter Play Mode
Expected result: Half-transparent blue image is rendered on the screen
Actual result: Opaque image is rendered on the screen.
Reproducible with: 12.1.0 (2021.2.0b16), 12.1.1(2021.2.3f1), 13.1.0 (2022.1.0a15)
Not reproducible with: 10.7.0(2020.3.23f1), 11.0.0 (2021.1.28f1)
Could not test with: 7.7.1 (2019.4.32f1), 12.0.0 (2021.2.0b15) (Can't import shadergraph)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
This is a mixture of changes to RPs breaking existing assumptions for SG that allowed our generated shaders to coincidentally work with Canvas/UI. The real issue is that we do not have an officially supported target or provided clear workflows for supporting it yet. We have to treat this as a feature request. Roadmap for official support is here: https://portal.productboard.com/unity/1-unity-platform-rendering-visual-effects/c/50-ui-integration-with-shader-graph). While some versions happened to function with SG materials in the canvas, it has not ever been given official support.