Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in [Package]
9.0.0, 8.1.0, 8.0.1, 7.3.1
Issue ID
1251529
Regression
No
[VFX Graph] NullReferenceException error is thrown on changing Space property value in VFXBlockSubgraphContext preset asset
NullReferenceException error is thrown on changing Space property value in VFXBlockSubgraphContext preset asset.
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 > Create its preset.
4. Select VFXBlockSubgraphContext > Inspector > Reset.
5. Change Space property value to > World.
Actual Result:
NullReferenceException error is thrown in the console.
Expected Result:
No error in the console.
Reproducible in:
2020.2.0a13, 2020.1.0b11, 2019.3.15f1, 2019.3.2f1 with Package version 9.0.0, 8.1.0.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stacktrace:
NullReferenceException: Object reference not set to an instance of an object
VFXContextEditor.OnInspectorGUI () (at library/packagecache/com.unity.visualeffectgraph@9.0.0-preview.13/editor/inspector/vfxcontexteditor.cs:277)
UnityEditor.Presets.PresetEditor.DrawInternalInspector () (at <d302ee0b7fcd4d8184c0fe84f62c3cc1>:0)
UnityEditor.Presets.PresetEditor.DrawPresetData () (at <d302ee0b7fcd4d8184c0fe84f62c3cc1>:0)
UnityEditor.Presets.PresetEditor.OnInspectorGUI () (at <d302ee0b7fcd4d8184c0fe84f62c3cc1>:0)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass58_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <23f880b0551248cb8ca27306bc291abd>:0)
UnityEditor.PopupCallbackInfo:SetEnumValueDelegate(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
- Project window selection is not updated when search term is changed
- Error when adding valid MonoBehaviour script to Prefab in Project window
- Editor Launch Screen will close when Enter is pressed on it
- ObjectPool's pool is destroyed when entering Play Mode without reloading Domain
- [Android] Permission window is not shown when using a Build App Bundle (Google Play) with Minify set to Release
Resolution Note:
Preset option will be disabled on all the VFX element.