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
- Crash on block_locate_free when rendering a specific scene
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
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