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
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
- Graphics Compositor breaks Unity rendering when the "Output Camera" is changed to a scene Camera and one Camera SubLayer is active
- The Editor freezes on RenderGraphViewer.Repaint when entering too many characters in search fields without character limits
- Adding a new SubLayer in Graphics Compositor renders BaseLayer darker and makes it flicker
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