Search Issue Tracker

Won't Fix

Votes

0

Found in [Package]

12.1.4

Issue ID

1403417

Regression

No

Unlit shadergraph does not work in UI screenspace-overlay mode

Package: Shader Graph

-

Steps to reproduce:
- Open OutdoorsScene in the attached project
- Compare UI rendering in scene view VS game view

Expected: All 3 items of the top row (Built-In Unlit) should be displayed properly in game and scene view.

Result: The item in overlay mode displays as a dark red square in the game view.

Reproduces with:
Unity 2021.2.11f1 / Shadergraph 12.1.4, Unity 2022.2.0a9 / Shadergraph 14.0.2

Notes:
- The second row of objects is using a stripped down version of the generated code of the unlit shadergraph, where only the first pass is kept. Notice that this shader is displaying properly in game view.
- The last row of objects is using a similar looking hand written shader, that also displays properly with all canvas types.
- The scene view is probably forcing all the canvas to render in world mode.

  1. Resolution Note:

    Overlay  canvas renders directly to the device, and sets up rendering based upon the old built in pipeline. Without complexity we can't support the HDRP shaders as well.

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.