Steps to reproduce:
1. Create a new HDRP project
2. Observe Console
Actual results: Errors are thrown to the console
Expected results: Console does not contain VFX Graph errors
Reproducible with versions: 2022.3.39f1
Not reproducible with versions: 6000.0.12f1
Can’t test with versions: n/a
Tested on (OS): macOS
Notes:
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 <b1d89b469be64f4680bd9a663f4b0cb2>:0)
UnityEditor.VFX.UI.VFXViewWindow.GetWindowLambda (System.Func`2[T,TResult] func, System.Boolean createIfNeeded, System.Boolean show) (at ./Library/PackageCache/com.unity.visualeffectgraph@14.0.11/Editor/GraphView/VFXViewWindow.cs:115)
UnityEditor.VFX.UI.VFXViewWindow.GetWindow (UnityEditor.VFX.VFXGraph vfxGraph, System.Boolean createIfNeeded, System.Boolean show) (at ./Library/PackageCache/com.unity.visualeffectgraph@14.0.11/Editor/GraphView/VFXViewWindow.cs:77)
UnityEditor.VFX.VFXGraphPreprocessor.OnPostprocessAllAssets (System.String[] importedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromAssetPaths) (at ./Library/PackageCache/com.unity.visualeffectgraph@14.0.11/Editor/Models/VFXGraph.cs:66)