Search Issue Tracker
Won't Fix
Votes
3
Found in [Package]
13.1.0
Issue ID
1376328
Regression
Yes
UI Image with Shader Graph material doesn't work when Canvas "Render Mode" is set to "Overlay"
Reproduction steps:
1. Open the attached project "1376328.zip"
2. Open Assets > Scenes > SampleScene
3. Observe Game view and Scene view
Expected results: Transparent UI image
Actual results: Dark red layer over UI image
Reproduced in: 12.0.0. (2021.2.0b2), 12.0.1 (2021.2.1f1), 13.1.0 (2022.1.0a14)
Not Reproduced in: 10.7.0 (2020.3.22f1), 11.0.0 (2021.1.28f1), 12.0.0. (2021.2.0b1)
Could not test with: 2019.4.32f1 (broken shaders)
-
Thygrrr
Aug 03, 2022 16:01
Completely inacceptable resolution. URP is several years out of preview, Unity UI is an integral component of the Engine stack.
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
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
- Depth Texture Mode "After Opaques" breaks when "Full Screen Pass Renderer Feature" is added
- The Code Previews panel is initially opened in a slightly minimized state
Resolution Note:
Unfortunately, Shader Graph does not support UI renderers (although this is on our roadmap to support here: https://portal.productboard.com/unity/1-unity-platform-rendering-visual-effects/c/50-ui-integration-with-shader-graph). While some versions happened to function with SG materials in the canvas, it has not ever been given official support. You may be able to get away with doing the canvas renderer in worldspace or screen space - camera, but that will vary depending on usage.