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
- The build size is larger when Models have Animation Type set to Generic
- Error "ArgumentException: Both 'ok' and 'cancel' strings are null or empty" logged when User is trying to create circular dependencies in UI Builder Hierarchy
- "SupportsRandomWriteOnRenderTextureFormat()" shows "False" when executed on 2023.2 and 6000.0 streams
- Size of ShadowCaster2D with Casting Source set to a Collider increases when RigidBody2D is attached to the GameObject
- GameObjects with a material derived from a Custom Lighting Surface Shader are displayed as skewed on quads when the Camera's Width and Height properties of the Viewport Rect are lower than 1
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.