Search Issue Tracker

By Design

Votes

1

Found in [Package]

14.0.0

Issue ID

1400314

Regression

No

Sub Graph Boolean Keyword default state is always disabled regardless of what is set in its Node Settings

Package: Shader Graph

-

How to reproduce:
1. Open the user's attached "SubShaderKeywordBug" project
2. Open the "SampleScene" Scene
3. Observe the Cube in the Scene view

Expected result: The Cube Material color is green
Actual result: The color is red

Reproducible with: 10.8.1 (2020.3.28f1), 12.1.4 (2021.2.11f1), 13.1.5 (2022.1.0b7), 14.0.0 (2022.2.0a4)
Couldn't test with: 7.7.1 (2019.4.35f1) (errors related to downgrading)

Note: Main Preview in the "s_testShader" Shader Graph and "sg_testShader" Sub Graph windows display that the Material color is green

  1. Resolution Note:

    If a user wants to use keywords in a subgraph in its parent shader graph, the current workflow is the user will need to redefine the keyword in the parent graph.

Add comment

Log in to post comment