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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
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.