Search Issue Tracker
Won't Fix
Fixed in 2021.2.X
Votes
1
Found in
2021.2.0b2
2021.2.0b4
2022.1
Issue ID
1352225
Regression
Yes
UI shaders are not rendered in Game View from 2021.2.0b2
Reproduction steps:
1. Open the attached project from the google drive link
2. Make both Scene and Game view windows visible
3. Enter Play Mode
Expected result: The shader is rendered in Game View
Actual result: The shader is not rendered in Game View
Reproducible with: 2021.2.0b2, 2022.1.0a5
Not reproducible with: 2019.4.29f1, 2020.3.16f1, 2021.1.16f1 2021.2.0b1
Notes:
- It seems that the issue is caused by the different Unity versions. The shader graph package version has no impact
- In 2022.1.0a5 the actual results are different, however the render is not correctly displayed as well
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 (2022.1.X):
Unfortunately, Shader Graph does not support UI renderers (although this is on our roadmap to support 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. You may be able to get away with doing the canvas renderer in worldspace or screen space - camera, but that will vary depending on usage.
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0b15