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
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [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
Resolution Note (fix version 8.2.0):
Fixed in Package version: 8.2.0.