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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 14):
Fixed in 2022.2.0a1 VFX Graph 14