Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
12.0.0
Issue ID
1388310
Regression
Yes
ShaderGraph Basic Math Node's colors change in Game view when selecting its GameObject in Scene view
How to reproduce:
1. Open the user's attached project
2. In the Hierarchy window select "Canvas" > "MasterPanel" > "MainPanel"
3. Click anywhere in Scene view
Expected result: The background color of "MainPanel" UI Element stays the same
Actual result: The background color of "MainPanel" UI Element gets a red tint in Game view
Reproducible with: 12.0.0( 2021.2.0b2), 12.1.3 (2021.2.8f1), 13.1.4 (2022.1.0b3)
Not reproducible with: 10.8.1 (2020.3.25f1), 11.0.0 (2021.1.28f1), 12.0.0 (2021.2.0b1)
Could not test with: 2019.4.34f1 due to errors
Notes:
- Green stripes appear with this issue in the Scene view originating from "BorderShader.shadergraph" "Add" Node
- An error occurs when selecting anything in the Editor: "MissingMethodException: assembly:<unknown assembly> type:<unknown type> member:(null)
Microsoft.CSharp.RuntimeBinder.BinderHelper.IsComObject (System.Object obj) (at <acab067bff7f421a9e1b2520d24a3d83>:0)"
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
- Crash on folly::detail::safe_assert_terminate_v when updating the Meta XR SDK Packages
- The text font falls back on a different font depending on the fallback font used
- Template is opened in Isolation when opening it in Context and users Save the UI Document when prompted to do so in UI Builder
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
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.