MissingComponentException: There is no 'VisualEffect' attached to the "Main Camera" game object, but a script is trying to access it.
You probably need to add a VisualEffect to the game object "Main Camera". Or your script needs to check if the component is attached before using it.
UnityEngine.Object+MarshalledUnityObject.TryThrowEditorNullExceptionObject (UnityEngine.Object unityObj, System.String parameterName) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/UnityEngineObject.bindings.cs:1086)
UnityEngine.Bindings.ThrowHelper.ThrowNullReferenceException (System.Object obj) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/BindingsHelpers.cs:61)
UnityEngine.VFX.VisualEffect.get_visualEffectAsset () (at <228ce715ea63477d858c72f4571f5e9e>:0)
UnityEditor.VFX.UI.VFXViewWindow.AttachTo (UnityEngine.VFX.VisualEffect visualEffect) (at ./Library/PackageCache/com.unity.visualeffectgraph@f3a57f46bdfe/Editor/GraphView/VFXViewWindow.cs:188)
UnityEditor.VFX.AdvancedVisualEffectEditor.AutoAttachToSelection () (at ./Library/PackageCache/com.unity.visualeffectgraph@f3a57f46bdfe/Editor/Inspector/AdvancedVisualEffectEditor.cs:746)
UnityEditor.VFX.AdvancedVisualEffectEditor.OnEnable () (at ./Library/PackageCache/com.unity.visualeffectgraph@f3a57f46bdfe/Editor/Inspector/AdvancedVisualEffectEditor.cs:113)