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
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.
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
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.