Search Issue Tracker

Fixed in 14

Votes

0

Found in [Package]

13.1.0

Issue ID

1382841

Regression

No

VFX window can not be opened and errors are thrown when graph is created using empty VFX graph window

Package: Visual Effect Graph

-

How to reproduce:
1. Create two VFX Graphs in Project Browser
2. Open them both
3. Delete them both from project browser in order to get empty vfx windows
4. Press "Create a new Visaul Effect Graph" in vfx window
5. Try to open newly created VFX

Expected result: VFX graph window opens
Actual result: text file opens and errors are thrown to the console

Reproduced with: 2022.1.0a16 (Graphics master from 2021/11/22)

Notes:
- Can not reproduce with one VFX window
- Closing all the windows opens VFX Graph as supposed to
- Error messages:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.UI.VFXViewWindow+<>c__DisplayClass7_0.<GetWindow>b__0 (UnityEditor.VFX.UI.VFXViewWindow x) (at com.unity.visualeffectgraph/Editor/GraphView/VFXViewWindow.cs:66)

Exception thrown while invoking [OnOpenAssetAttribute] method 'VisualEffectAssetEditor:OnOpenVFX (int,int)' : NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.UI.VFXViewWindow+<>c__DisplayClass6_0.<GetWindow>b__0 (UnityEditor.VFX.UI.VFXViewWindow x) (atcom.unity.visualeffectgraph/Editor/GraphView/VFXViewWindow.cs:60)

  1. Resolution Note (fix version 14):

    Fixed in 2022.2.0a1 VFX Graph 14

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.