Search Issue Tracker
Fixed in 7.5, 8.2, 9.1
Votes
0
Found in [Package]
9.0.0, 8.1.0
Issue ID
1251533
Regression
No
[Visual Effect Graph] Model error : wrong parent errors are thrown on opening VFX Subgraph Block
Model error : wrong parent errors are thrown on opening VFX Subgraph Block.
Steps to repro:
1. Create a new HDRP template project.
2. Project Window > Click "+" > Visual Effects > Visual Effect Subgraph Block.
3. Open Subgraph Block > Select Block Subgraph node > Reset.
4. Close Subgraph Block & Open again.
Actual Result:
Model error : wrong parent errors are thrown in the console.
Expected Result:
No error in the console.
Reproducible in:
2020.2.0a13, 2020.1.0b11, 2020.1.0a23 with Package version 9.0.0, 8.1.0.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
Model error : wrong parent. expected:''(VFXGraph) actual:null(VFXModel)
UnityEditor.VFX.UI.VFXViewWindow:LoadResource (UnityEditor.VFX.VisualEffectResource,UnityEngine.VFX.VisualEffect)
VisualEffectAssetEditor:OnOpenVFX (int,int) (at library/packagecache/com.unity.visualeffectgraph@9.0.0-preview.13/editor/inspector/vfxasseteditor.cs:113)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Model error : 'Block Subgraph'(VFXBlockSubgraphContext) wrong graph. expected:''(VFXGraph) actual:null(VFXModel)
UnityEditor.VFX.UI.VFXViewWindow:LoadResource (UnityEditor.VFX.VisualEffectResource,UnityEngine.VFX.VisualEffect)
VisualEffectAssetEditor:OnOpenVFX (int,int) (at library/packagecache/com.unity.visualeffectgraph@9.0.0-preview.13/editor/inspector/vfxasseteditor.cs:113)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)Model error : 'Block Subgraph'(VFXBlockSubgraphContext) wrong graph. expected:''(VFXGraph) actual:null(VFXModel)
UnityEditor.VFX.UI.VFXViewWindow:LoadResource (UnityEditor.VFX.VisualEffectResource,UnityEngine.VFX.VisualEffect)
VisualEffectAssetEditor:OnOpenVFX (int,int) (at library/packagecache/com.unity.visualeffectgraph@9.0.0-preview.13/editor/inspector/vfxasseteditor.cs:113)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
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 7.5, 8.2, 9.1):
Fixed in Package version: 8.2.0