Search Issue Tracker

By Design

Votes

3

Found in [Package]

7.1.2

Issue ID

1193291

Regression

No

[Shader Graph] Shaders from Shader Graph don't work on UI with Canvas "Render Mode" set to "Overlay"

Package: Shader Graph

-

Reproduction steps:
1. Open "1193291" project
2. Notice that the Image has Perlin Noise
3. Select the "Canvas" Game Object -> "Canvas" -> "Render Mode" and change it to "Screen Space - Overlay"
4. Notice that the Image is now Black

Expected Result: Shader Graph Shaders should render properly with every Canvas "Render Mode"
Actual Result: Setting the "Render Mode" of the Canvas to "Overlay" doesn't render Shader Graph Shaders on Images

Reproduced with: 2020.1.0a9, 2019.3.0b8, 2019.2.10f1, 2018.4.12f1
Did not reproduce on: 2017.4.33f1 (No Packman)

  1. Resolution Note:

    As of 2020.1 and earlier, Shader Graph does not officially support UI shaders. The feature request is on our roadmap.

Comments (9)

  1. miguelangelmate

    Apr 26, 2023 18:41

    It's broken even today

  2. Inxentas

    Jul 07, 2022 21:26

    I would really appreciate a fix for this as well. SG unlit sprite shaders now go bonkers when you set alpha on a parent CanvasGroup below 1. Transparency turns up as red opaque.

  3. herrkjeldsen_unity

    Jun 14, 2022 09:46

    Just chiming in, this is kinda important for me as well.

  4. Fressbrett

    Feb 22, 2022 16:41

    ShaderGraph shaders used to work in 2021.1.20f1. But now, after upgrading to 2021.2.12f1, they ceased to work and render all alpha black, which is a gamebreaking bug for us, rendering this Unity version unusable.

    Why is this issue marked as "By Design", since it clearly worked before?

    https://forum.unity.com/threads/shader-graph-ui-image-shader-does-not-work.1202461/#post-7683259

  5. nguyenhoangphuongofficial

    Jan 20, 2022 10:21

    I have this issue even on 2021.2.8f version, you Unity just does not fix that ?

  6. RavenmoreArt

    Feb 01, 2021 12:59

    Interesting, is it even an option to add SG's to UI elements in some limited capacity?
    I understand the limiting factor is the lack of a proper camera in SS:Overlay?

  7. westykid

    Oct 23, 2020 07:50

    I cant see it on the roadmap. Is this not a fairly simple fix for something kinda important?

  8. Onsterion

    Sep 19, 2020 22:48

    Any ETA about this ?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.