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
- Inspector elements are rendered twice when the script component is added via drag-and-drop while the HideFlags.HideInInspector property is set
- Error "Light baking failed with error code 5 (Convergence data not available while rendering lightmaps)" thrown in Console when generating lighting for specific GameObjects
- Copy and Paste options for an Animation Property value are disabled in the Right click contextual menu
- Asset is not found when searching the Label "NewLabel" in Search Window
- "Compute dispatch: missing texture ID..." and "Compute dispatch: missing UAV ID..." warnings are thrown after changing the platform in High Definition 3D template
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.