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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
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.