Steps to reproduce:
- Create a new 3D URP Project
- Install the Visual Effect Graph Package
- In the Project Browser Create > Visual Effects > Visual Effect Graph and open it
- Enter Play Mode
- Delete the Visual Effect Graph Asset
- Exit Play Mode and observe Error
- Enter Play Mode again and observe Errors
Actual results: Error "NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.UI.VFXView.OnPlayModeStateChanged (UnityEditor.PlayModeStateChange playModeState) (at ./Library/PackageCache/com.unity.visualeffectgraph@1e1a749d97b5/Editor/GraphView/Views/VFXView.cs:836)
UnityEditor.EditorApplication.Internal_PlayModeStateChanged (UnityEditor.PlayModeStateChange state) (at <f79499cefc754fbaabc138ada33976a7>:0)
UnityEngine.StackTraceUtility:ExtractStringFromExceptionInternal(Object, String&, String&)" is logged in Console when exiting Play Mode
Other Errors like "CrashReporter::GetInsightsSignedUrlAsync should only be called from the main thread" & "Curl error 3: URL rejected: Malformed input to a URL function" are logged when entering Play Mode again
Expected results: No Error is logged
Reproducible with versions: 6000.6.0a6
Not reproducible with versions: 6000.0.72f1, 6000.3.16f1, 6000.4.10f1, 6000.6.0a5
Tested on (OS): Windows 11