Search Issue Tracker
Not Reproducible
Votes
0
Found in [Package]
8.0.1
Issue ID
1238241
Regression
Yes
[HDRP] [VFX] VFX Graph throws System.InvalidOperationException when making changes to a bound Shader Graph
How to reproduce:
1. Open the project from the attached file "1238241.zip"
2. From Assets open "test" file and in the Visual Effect Graph window in the Output Particle Quad module, set Shader Graph to "shader"
3. From Assets open "shader" file and in the Shader Graph window press on the plus icon in the upper right corner of the blackboard and select Vector1
4. Press enter and then press Save Asset in the upper left corner of the Shader Graph window
5. Inspect the console
Expected result: No errors thrown in the Console
Actual result: "test : Exception while compiling expression graph: System.InvalidOperationException: Sequence contains no matching element" is thrown in the Console
Reproducible with: 8.0.1(2020.2.0a9, 2020.1.0b8), preview.13 - 9.0.0(2020.1.0b8)
Not reproducible with: 7.2.0(2019.3.11f1), 7.3.1(2020.2.0a9, 2019.3.11f1)
Could not test with: 4.10.0-preview(2018.4.22f1)(feature not introduced)
Notes:
- Rebinding the Shader Graph fixes the error
- Error is thrown only when adding a property(removing does not throw an error)
- The added property does not get updated in the VFX Graph Output Particle Quad module until Shader Graph is rebinded
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
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
DarKRealm
Aug 17, 2021 06:49
Thank's a lot helped me to solve that. Have the same problem with Unity 2019.4 and VFX/Shader Graph 7.7.1