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
- ProfilingSampler.Get() returns null and makes the Player only render black when building a Release Build
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
- Display issues in VideoPlayer when using Screen.SetResolution on certain Google Pixel devices
- Crash on Texture::TextureIDMapInsert when opening a specific project
- Null reference exceptions occur when ScriptableObjects saved in the same .asset file are referenced in runtime
Resolution Note (fix version 10.1.1 or 10.2.0):
Fixed in Package Version: 10.2.0.