Search Issue Tracker
Fixed in 8.2.0
Votes
1
Found in [Package]
8.0.1
Issue ID
1231927
Regression
Yes
[VFX Graph] NullReferenceException errors are thrown on clicking on Play/Pause/Stop button after attaching Target VFX GameObject
NullReferenceException errors are thrown on clicking on Play /Pause/Stop button after attaching Target VFX GameObject.
Steps to repro:
1. Open the attached project.
2. Select the Visual Effect game object.
3. Inspector > Asset Template click on Edit button
4. Click on Target GameObjectTab > Click on Play /Pause/Stop button.
Actual Result:
NullReferenceException errors are thrown in the console.
Expected Result:
No errors in the console.
Reproducible in:
2020.2.0a5, 2020.1.0b4, 2020.1.0b1, 2020.1.0a23 with Package Version: 8.0.1
Working Fine:
2020.2.0a5, 2020.1.0b4, 2020.1.0a23, 2019.3.8f1 with Package Version: 7.3.1, 7.2.1, 7.1.8.
Environment:
Occurring on Windows 10 & Mac 10.15.
Stack trace:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.UI.VFXUIDebug.Notify (UnityEditor.VFX.UI.VFXUIDebug+Events e) (at Library/PackageCache/com.unity.visualeffectgraph@8.0.1/Editor/Debug/VFXUIDebug.cs:555)
UnityEditor.VFX.UI.VFXComponentBoard.EffectPlay () (at Library/PackageCache/com.unity.visualeffectgraph@8.0.1/Editor/GraphView/VFXComponentBoard.cs:308)
UnityEngine.UIElements.Clickable.Invoke (UnityEngine.UIElements.EventBase evt) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.Clickable.ProcessUpEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.Vector2 localPosition, System.Int32 pointerId) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.Clickable.OnMouseUp (UnityEngine.UIElements.MouseUpEvent evt) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.EventCallbackRegistry.InvokeCallbacks (UnityEngine.UIElements.EventBase evt) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <efdca98bf77a44d08a67e265948874b5>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <faa31f22dbbe43159226eb3a4f009ff2>:0)
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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Resolution Note (fix version 8.2.0):
Fixed in Package version: 8.2.0.