Search Issue Tracker

Fixed in 9.0.0-preview.35

Votes

0

Found in [Package]

9.0.0-preview.14

Issue ID

1302247

Regression

Yes

[ShaderGraph] "Set Active" on Master Node does not get reset when undoing changes

Package: Shader Graph

-

How to reproduce:
1. Open the attached "ShaderGraphRepro.zip" project
2. Open the "test" Shader Graph
3. Right-click on the "Unlit Master" Node (upper one)
4. Press "Set Active"
5. Repeat 3-4 steps on the lower "Unlit Master" Node
6. Repeat 3-4 steps
7. Press Undo

Expected result: The lower "Unlit Master" is set as active
Actual result: The lower "Unlit Master" is not set as active

Reproducible with: 7.5.2, 8.3.1, 9.0.0-preview.14 (2020.1.17f1, 2020.2.0b5)
Not reproducible with: 9.0.0-preview.35, 10.2.2, 11.0.0 (2020.1.17f1, 2020.2.0b5, 2020.2.1f1, 2021.1.0b1)

Note:
- In some cases undoing/redoing changes results in "InvalidOperationException: Identifier version mismatch at index 3: 2 != 3" error

  1. Resolution Note (fix version 9.0.0-preview.35):

    This is fixed in Unity 2020.2 as the Master Stack system does not include the concept of an active master node. If a fix is required for 2019.4, please file a support ticket with your support representative and we will re-evaluate.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.