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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
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.