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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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.