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
- Foldout arrow indent is misaligned in the Inspector when used in Custom Type
- [Android] The Player screen turns black when playing a video under certain conditions
- Search window icons at the bottom are cut off when Search window is resized vertically
- "Try something else?" text label is cut off when searching for a long text in the Search window
- Rendering Debugger window sections do not have a minimum width set when resizing with the slider in the middle of the window
This is a duplicate of issue #1382841