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
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
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