Search Issue Tracker
Fixed in 10.1.1 or 10.2.0
Votes
0
Found in [Package]
10.0.0-preview.27, 9.0.0-preview.33
Issue ID
1274788
Regression
No
[VFX Graph] NullReferenceException error is thrown on adding "Hierarchy to Attribute Map" Property Binder
NullReferenceException error is thrown on adding "Hierarchy to Attribute Map" Property Binder.
Steps to repro:
1. Create a new HDRP project.
2. Hierarchy > Click on "+" > Visual Effects > Visual Effect
3. Inspector > Add Component > Audio Spectrum Binder.
4. Property Binding > Add > Point Cache > Hierarchy to Attribute Map.
Actual Result:
NullReferenceException error in the console.
Expected Result:
No error in the console.
Reproducible in:
2020.2.0b2, 2020.1.5f1, 2020.1.0b15 with Package Version 10.0.0-preview.27, 9.0.0-preview.33, 8.2.0.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
NullReferenceException: Object reference not set to an instance of an object
UnityEngine.VFX.Utility.VFXHierarchyAttributeMapBinder.ChildrenOf (UnityEngine.Transform source, System.UInt32 depth) (at library/packagecache/com.unity.visualeffectgraph@10.0.0-preview.27/runtime/utilities/propertybinding/implementation/vfxhierarchyattributemapbinder.cs:72)
UnityEngine.VFX.Utility.VFXHierarchyAttributeMapBinder.UpdateHierarchy () (at library/packagecache/com.unity.visualeffectgraph@10.0.0-preview.27/runtime/utilities/propertybinding/implementation/vfxhierarchyattributemapbinder.cs:59)
UnityEngine.VFX.Utility.VFXHierarchyAttributeMapBinder.OnEnable () (at library/packagecache/com.unity.visualeffectgraph@10.0.0-preview.27/runtime/utilities/propertybinding/implementation/vfxhierarchyattributemapbinder.cs:49)
UnityEditor.GenericMenu:CatchMenu(Object, String[], Int32)
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 10.1.1 or 10.2.0):
Fixed in Package Version: 10.2.0.