Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
13.1.0
Issue ID
1382854
Regression
No
[VFX Graph] Can not create VFX Graph containing the same name when creating VFX using empty graph window
How to reproduce:
1. Create two new VFX graphs in Project Browser and open them
2. Delete 'New VFX 1' in order empty VFX Graph window to show up
3. Create new VFX using 'Create new Visual Effect Graph' button in empty VFX Graph window and name it 'New VFX' (same name as first created VFX)
4. Dialog window is going to pop up and ask whether you want to replace the VFX, press yes
Actual result: Errors are thrown to the console
Reproducible with: 2022.1.0a16
Notes:
- Not reproducible on 2022.1.0a15 with one window, it is replaced successfully.
- Error messages:
InvalidOperationException: Sequence contains more than one matching element
System.Linq.Enumerable.SingleOrDefault[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at <51017e6a098e4b0aa38df61b862c5cd5>:0)
UnityEditor.VFX.UI.VFXViewWindow.GetWindowLambda (System.Func`2[T,TResult] func, System.Boolean createIfNeeded, System.Boolean show) (at C:/Users/vita.skruibyte/Documents/vfx-graphics/com.unity.visualeffectgraph/Editor/GraphView/VFXViewWindow.cs:87)
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
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
This is a duplicate of issue #1382841