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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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.