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
- 2D Renderer Breaks When Animating Material Property with MaterialPropertyBlock
- PlayModeStateChange.ExitingPlayMode is not logged when Play Mode is exited due to recompilation
- Crash on `anonymous namespace'::PrepareTreesAndWriteWindParamsJobData::Execute when entering Play Mode on a specific project
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
Add comment