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
- UI Builder Hierarchy files are not marked dirty when Inspector fields in Attributes category are changed
- SVG file icons do not use the default asset icon when Vector Graphics package is not installed
- UnmanagedReadOrWrite objects are not disposed off when GZipStream is used in the "using" statement
- Android build fails when StreamingAssets contains 998 or more files
- "Playmode tint" is applied to Color and Gradient fields when in Play mode
This is a duplicate of issue #1382841