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
- [Quest] Pitch Shifter causes audio degradation on Quest 2 devices when sped up
- "GUI Error: Invalid GUILayout" and "NullReferenceException" are thrown when adding Scenes to "Scenes in Baking Set" in Adaptive Probe Volumes
- Inspector window not updating when switching GameObjects in Play Mode while having a VR headset connected
- "UnityException: GetName can only be called from the main thread." erors are thrown when the Shortcuts window is opened and entering Play Mode with a shortcut
- [Android] Light2D visuals stacking over frames when using RenderGraph
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.