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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Prefab override popup is cropped/positioned incorrectly when more than one display is used and a higher display Scale is set
- Opening a dropdown on a small screen results in its instant closing when mouse cursor is pressed where the dropdown is going to be opened
- Only "ArgumentNullException: Value cannot be null" is displayed instead of all the actual errors when opening a project with numerous compilation errors
- MultiColumnListView and MultiColumnTreeView do not change selection on first input when focus is set by code
- SerializedProperty.DataEquals is returning false when SerializedProperty.EqualContents return true
Resolution Note (fix version 14):
Fixed in 2022.2.0a1 VFX Graph 14