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
- The Scrollbar becomes unusable when adding Elements to the List
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
Resolution Note (fix version 10.1.1 or 10.2.0):
Fixed in Package Version: 10.2.0.