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
- [Dragon Crashers] Build fails in U6
- [Dragon Crashers] 4 Shader error messages on import
- [Dragon Crashers] Readme text is white on light grey
- Cursor stays in front of the first character when entering text in the TextMeshPro field
- Searching in Hierarchy causes unwanted component calls
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.