Search Issue Tracker
Fixed in 7.1.3
Votes
0
Found in [Package]
7.1.2
Issue ID
1187328
Regression
No
[Visual Effect Graph] Undo and Redo actions on "Default Subgraph Operator" Template throw NullReferenceException
NullReferenceException is thrown on performing Undo and Redo actions when "Default Subgraph Operator" Template is opened, refer attached video
Steps to repro:
1. Create a new project
2. Windows > Package Manager > Visual Effects Graph > Install
3. Project > Packages > Visual Effect Graph > Editor > Templates > Open Default Subgraph Operator Template
4. Perform Undo (Ctrl + z) and Redo (Ctrl + y) actions for Window
5. On macOS Undo (cmd + z) and Redo (shift + cmd + z)
Actual Result:
NullReferenceException is throwing on Undo and Redo actions
Expected Result:
Actions can be performed without any exception thrown in the console
Reproducible in:
2020.1.0a6, 2019.3.0b5, 2019.3.0a10
Package Version found: 7.1.2, 7.1.1, 7.0.0.
NOTE:
Visual Effect Graph is introduced in 2019.3.0a10.
Environment:
Windows 10 & macOS 10.14
Stack Trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.VFXParameter.UpdateDefaultExpressionValue () (at Library/PackageCache/com.unity.visualeffectgraph@7.1.2/Editor/Models/Parameters/VFXParameter.cs:331)
UnityEditor.VFX.UI.VFXViewController.SynchronizeUndoRedoState () (at Library/PackageCache/com.unity.visualeffectgraph@7.1.2/Editor/GraphView/Views/Controller/VFXViewControllerUndo.cs:234)
UnityEditor.Undo.Internal_CallUndoRedoPerformed () (at <52c46852ed4749ed926125cda2005635>:0)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Add comment