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
- Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
- [Android] "Screen.safeArea.y" always returns values outside of the Safe Area when the device is in Portrait orientation
- Frame spike due to many TreeRenderer.TreeUpdated calls when repositioning terrains in large Scenes
- Crash on GameObject::RemoveComponentFromGameObjectInternal when reparenting Text GameObjects
- [IL2CPP-GarbageCollector] Changing GCMode might permanently disable GC in a multithreaded context
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