net.peeweek.vfxgraph-extras icon indicating copy to clipboard operation
net.peeweek.vfxgraph-extras copied to clipboard

Argument exception Value cannot be null in non visible tabs

Open fleity opened this issue 7 months ago • 0 comments

Often after reloading domain etc. this error appears when a vfx graph is open in a tab that is not currently visible (one panel, multiple tabs)

ArgumentNullException: Value cannot be null.
Parameter name: e
UnityEngine.UIElements.UQueryExtensions.Q (UnityEngine.UIElements.VisualElement e, System.String name, System.String className) (at <fef112fd0f15457e8e58500118cb5cea>:0)
VFXGraphExtension.UpdateOrCreateExtensionForWindow (UnityEditor.VFX.UI.VFXViewWindow window) (at Library/PackageCache/net.peeweek.vfxgraph-extras@f097eb070f/Extension/VFXGraphExtension.cs:31)
VFXGraphExtension.Update () (at Library/PackageCache/net.peeweek.vfxgraph-extras@f097eb070f/Extension/VFXGraphExtension.cs:25)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <477bdcb097d4488eae58cbed17286dd8>:0)

fleity avatar Jul 15 '24 11:07 fleity