Search Issue Tracker

Fix In Review for 12.0.0



Found in [Package]


Issue ID




[VFX Graph] Graph cannot be saved and NullReferenceException is thrown when saving the graph

Package: Visual Effect Graph


How to reproduce:
1. Create a new project or open the existing one
2. Create a new VFX Graph and open it
3. Save the Graph

Expected result: Graph is saved
Actual result: Graph can not be saved and 'NullReferenceException' is thrown to the console

Reproducible with: 2021.2.0a18 master

- Graph can be saved using CTRL + S, but cannot be saved using 'Save' button
- Error message: 'NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.UI.VFXComponentBoard.DeactivateBoundsRecording () (at C:/Users/vita.skruibyte/Documents/SRP/com.unity.visualeffectgraph/Editor/GraphView/VFXComponentBoard.cs:354)
UnityEditor.VFX.UI.VFXView.OnSave () (at C:/Users/vita.skruibyte/Documents/SRP/com.unity.visualeffectgraph/Editor/GraphView/Views/VFXView.cs:1444)'

Comments (1)

  1. 03aa6fb4fdd24ea9450221c62ca3b46b?d=mm


    Jun 27, 2021 01:15

    Same for me. Also I can't build my app for Android with errors spam related to vfx graph

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.