Search Issue Tracker
Fixed in 7.0.0 (Not related to package version)
Votes
0
Found in [Package]
7.1.7, 7.1.6, 7.1.1, 7.0.0
Issue ID
1206884
Regression
No
[VFX Graph] NullReferenceExceptions are thrown on removing VFX-Render component from Visual Effect Graphs prefab asset
NullReferenceExceptions are thrown continuously on removing VFX Render component from Visual Effect Graphs prefab asset.
Steps to repro:
1. Open the attached Project.
2. Select Visual Effect > Create its prefab.
3. Select the prefab asset.
4. Remove VFX-Renderer component.
Actual Result:
NullReferenceExceptions error in the console.
Expected Result:
No error in the console.
Reproducible in:
2020.1.0a18, 2019.3.0f5 (fe220cd6911a), 2019.3.0a10.
Tested with Package Version: 7.1.7, 7.1.6, 7.1.1, 7.0.0.
Environment:
Occurs on Windows and Mac.
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.VisualEffectEditor.DrawRendererProperties () (at library/packagecache/com.unity.visualeffectgraph@7.1.7/editor/inspector/visualeffecteditor.cs:1105)
UnityEditor.VFX.VisualEffectEditor.OnInspectorGUI () (at library/packagecache/com.unity.visualeffectgraph@7.1.7/editor/inspector/visualeffecteditor.cs:759)
UnityEditor.VFX.AdvancedVisualEffectEditor.OnInspectorGUI () (at library/packagecache/com.unity.visualeffectgraph@7.1.7/editor/inspector/advancedvisualeffecteditor.cs:147)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass55_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <065cf923b7714278a3c7baf218a9b966>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
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
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
- Crash on EditorApplication:Internal_CallUpdateFunctions when pushing property block by index to SpriteShapeRenderer
- Depth Texture Mode "After Opaques" breaks when "Full Screen Pass Renderer Feature" is added
- The Code Previews panel is initially opened in a slightly minimized state
Resolution Note (fix version 7.0.0 (Not related to package version)):
Graphics: Filters out VFXRenderer from inspector
Resolution Note (fix version 7.0.0 (Not related to package version)):
Graphics: Filters out VFXRenderer from inspector
Resolution Note (fix version 7.0.0 (Not related to package version)):
Graphics: Filters out VFXRenderer from inspector