Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Attempting to record with red record button prints error and doesn't work

Discussion in 'Timeline' started by oxysofts, Nov 29, 2019.

  1. oxysofts

    oxysofts

    Joined:
    Dec 17, 2015
    Posts:
    124
    Stacktrace:

    Code (CSharp):
    1.  
    2. NullReferenceException: Object reference not set to an instance of an object
    3. UnityEditor.EditorWindow.RefreshStylesAfterExternalEvent () (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:1055)
    4. UnityEditor.AnimationMode.StartAnimationRecording () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationMode.bindings.cs:125)
    5. UnityEditor.Timeline.WindowState.set_recording (System.Boolean value) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/State/WindowState.cs:209)
    6. UnityEditor.Timeline.WindowState.ArmForRecord (UnityEngine.Timeline.TrackAsset track) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/State/WindowState.cs:809)
    7. UnityEditor.Timeline.TimelineTrackGUI.DrawRecordButton (UnityEngine.Rect rect, UnityEditor.Timeline.WindowState state) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/treeview/TimelineTrackGUI.cs:640)
    8. UnityEditor.Timeline.TimelineTrackGUI.DrawTrackHeader (UnityEngine.Rect trackHeaderRect, UnityEditor.Timeline.WindowState state) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/treeview/TimelineTrackGUI.cs:480)
    9. UnityEditor.Timeline.TimelineTrackGUI.Draw (UnityEngine.Rect headerRect, UnityEngine.Rect contentRect, UnityEditor.Timeline.WindowState state) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/treeview/TimelineTrackGUI.cs:318)
    10. UnityEditor.Timeline.TimelineTreeView.OnRowGUI (UnityEngine.Rect rowRect, UnityEditor.IMGUI.Controls.TreeViewItem item, System.Int32 row, System.Boolean selected, System.Boolean focused) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/treeview/TimelineTreeView.cs:189)
    11. UnityEditor.IMGUI.Controls.TreeViewController.DoItemGUI (UnityEditor.IMGUI.Controls.TreeViewItem item, System.Int32 row, System.Single rowWidth, System.Boolean hasFocus) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:493)
    12. UnityEditor.IMGUI.Controls.TreeViewController.IterateVisibleItems (System.Int32 firstRow, System.Int32 numVisibleRows, System.Single rowWidth, System.Boolean hasFocus) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:691)
    13. UnityEditor.IMGUI.Controls.TreeViewController.OnGUI (UnityEngine.Rect rect, System.Int32 keyboardControlID) (at C:/buildslave/unity/build/Editor/Mono/GUI/TreeView/TreeViewController.cs:594)
    14. UnityEditor.Timeline.TimelineTreeViewGUI.OnGUI (UnityEngine.Rect rect) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/treeview/TimelineTreeViewGUI.cs:151)
    15. UnityEditor.Timeline.TimelineWindow.DrawTracksGUI (UnityEngine.Rect clientRect, UnityEditor.Timeline.TimelineModeGUIState trackState) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/Window/TimelineWindow_TrackGui.cs:118)
    16. UnityEditor.Timeline.TimelineWindow.TracksGUI (UnityEngine.Rect clientRect, UnityEditor.Timeline.WindowState state, UnityEditor.Timeline.TimelineModeGUIState trackState) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/Window/TimelineWindow_TrackGui.cs:46)
    17. UnityEditor.Timeline.TimelineWindow.TrackViewsGUI () (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/Window/TimelineWindow_Gui.cs:198)
    18. UnityEditor.Timeline.TimelineWindow.SequencerGUI () (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/Window/TimelineWindow_Gui.cs:295)
    19. UnityEditor.Timeline.TimelineWindow.DoLayout () (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/Window/TimelineWindow_Gui.cs:156)
    20. UnityEditor.Timeline.TimelineWindow.OnGUI () (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/Window/TimelineWindow.cs:232)
    21. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    22. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    23. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    24. System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    25. UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:359)
    26. UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:353)
    27. UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:329)
    28. UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean floatingWindow, System.Boolean isBottomTab) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:374)
    29. UnityEditor.DockArea.OldOnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:341)
    30. UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:298)
    31. UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:483)
    32. UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:466)
    33. UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:447)
    34. UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/Events/MouseCaptureDispatchingStrategy.cs:93)
    35. UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:280)
    36. UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at C:/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:156)
    37. UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:190)
    38. UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:255)
    39. UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:78)
    40. UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
    41.  
    We also get an error with the record button in the animation window:


    Code (CSharp):
    1.  
    2. NullReferenceException: Object reference not set to an instance of an object
    3. UnityEditor.EditorWindow.RefreshStylesAfterExternalEvent () (at C:/buildslave/unity/build/Editor/Mono/EditorWindow.cs:1055)
    4. UnityEditor.AnimationMode.StartAnimationRecording () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationMode.bindings.cs:125)
    5. UnityEditor.Timeline.WindowState.set_recording (System.Boolean value) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/State/WindowState.cs:209)
    6. UnityEditor.Timeline.WindowState.ArmForRecord (UnityEngine.Timeline.TrackAsset track) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/State/WindowState.cs:809)
    7. UnityEditor.Timeline.TimelineWindowTimeControl.StartRecording (UnityEngine.Object targetObject) (at C:/Program Files/Unity/Hub/Editor/2019.2.9f1/Editor/Data/Resources/PackageManager/BuiltInPackages/com.unity.timeline/Editor/Window/TimelineWindowTimeControl.cs:269)
    8. UnityEditorInternal.AnimationWindowState.StartRecording () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindowState.cs:569)
    9. UnityEditor.AnimEditor.RecordButtonOnGUI () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimEditor.cs:1036)
    10. UnityEditor.AnimEditor.PlayControlsOnGUI () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimEditor.cs:789)
    11. UnityEditor.AnimEditor.OnAnimEditorGUI (UnityEditor.EditorWindow parent, UnityEngine.Rect position) (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimEditor.cs:205)
    12. UnityEditor.AnimationWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/Animation/AnimationWindow/AnimationWindow.cs:103)
    13. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    14. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    15. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    16. System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <599589bf4ce248909b8a14cbe4a2034e>:0)
    17. UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:359)
    18. UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:353)
    19. UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:329)
    20. UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean floatingWindow, System.Boolean isBottomTab) (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:374)
    21. UnityEditor.DockArea.OldOnGUI () (at C:/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:341)
    22. UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:298)
    23. UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:483)
    24. UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:466)
    25. UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:447)
    26. UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/Events/MouseCaptureDispatchingStrategy.cs:93)
    27. UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:280)
    28. UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at C:/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:156)
    29. UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:190)
    30. UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:255)
    31. UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:78)
    32. UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
    33.  
     
    DSivtsov likes this.
  2. Friang

    Friang

    Joined:
    Jun 17, 2013
    Posts:
    2
    Hey there, exactly the same happens for me. When I try to make a Dolly Camera with Track, I can't seem to record.
     
  3. julienb

    julienb

    Unity Technologies

    Joined:
    Sep 9, 2016
    Posts:
    174
    With which Unity version? Also, what is the Timeline package version (you can get that information in the Package Manager window).
     
  4. oxysofts

    oxysofts

    Joined:
    Dec 17, 2015
    Posts:
    124
    Unity 2019.2.9f1
    Unity Timeline 1.1.0
     
  5. thedole

    thedole

    Joined:
    Jan 2, 2020
    Posts:
    2
    Any more info on this? I got this on 2019.2.18f1 today with Timeline 1.1.0. First time trying out timeline so a little at a loss at where to go from here.
     
  6. thedole

    thedole

    Joined:
    Jan 2, 2020
    Posts:
    2
    A simple restart of Unity seemed to fix it for now for me.
     
  7. julienb

    julienb

    Unity Technologies

    Joined:
    Sep 9, 2016
    Posts:
    174
    The error seems to be related to your current layout. As a workaround, if it happens again, try reverting your current layout.
     
    elirin13, selocanyu, optnw and 8 others like this.
  8. roycefernandes3

    roycefernandes3

    Joined:
    Jan 21, 2019
    Posts:
    4
    Thanks. It worked for me.
     
    elirin13 and optnw like this.
  9. skjagan

    skjagan

    Joined:
    May 18, 2020
    Posts:
    6
    thank you, it worked
     
    elirin13 likes this.
  10. Deleted User

    Deleted User

    Guest

    Resetting the layout works for a while, but the error resumes some arbitrary time later. We cant isolate it to a particular window being open or not.

    Unity 2019.4.8f1
    Timeline: 1.2.16 (verified)

    Stack:
    Code (CSharp):
    1. TimelineWindow_TrackGui.cs:177)
    2. UnityEditor.Timeline.TimelineWindow.TracksGUI (UnityEngine.Rect clientRect, UnityEditor.Timeline.WindowState state, UnityEditor.Timeline.TimelineModeGUIState trackState) (at Library/PackageCache/com.unity.timeline@1.2.16/Editor/Window/TimelineWindow_TrackGui.cs:47)
    3. UnityEditor.Timeline.TimelineWindow.TrackViewsGUI () (at Library/PackageCache/com.unity.timeline@1.2.16/Editor/Window/TimelineWindow_Gui.cs:198)
    4. UnityEditor.Timeline.TimelineWindow.SequencerGUI () (at Library/PackageCache/com.unity.timeline@1.2.16/Editor/Window/TimelineWindow_Gui.cs:295)
    5. UnityEditor.Timeline.TimelineWindow.DoLayout () (at Library/PackageCache/com.unity.timeline@1.2.16/Editor/Window/TimelineWindow_Gui.cs:156)
    6. UnityEditor.Timeline.TimelineWindow.OnGUI () (at Library/PackageCache/com.unity.timeline@1.2.16/Editor/Window/TimelineWindow.cs:238)
    7. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <fb001e01371b4adca20013e0ac763896>:0)
    8. Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    9. System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <fb001e01371b4adca20013e0ac763896>:0)
    10. System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <fb001e01371b4adca20013e0ac763896>:0)
    11. UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at <d7545a46516941d4b2f2dec578cd41ee>:0)
    12. UnityEditor.HostView.Invoke (System.String methodName) (at <d7545a46516941d4b2f2dec578cd41ee>:0)
    13. UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <d7545a46516941d4b2f2dec578cd41ee>:0)
    14. UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <d7545a46516941d4b2f2dec578cd41ee>:0)
    15. UnityEditor.DockArea.OldOnGUI () (at <d7545a46516941d4b2f2dec578cd41ee>:0)
    16. UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <a9183b39766a483caf86aaa926f3554c>:0)
    17. UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <a9183b39766a483caf86aaa926f3554c>:0)
    18. UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <a9183b39766a483caf86aaa926f3554c>:0)
    19. UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <a9183b39766a483caf86aaa926f3554c>:0)
    20. UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus) (at <a9183b39766a483caf86aaa926f3554c>:0)
    21. UnityEngine.UIElements.IMGUIContainer.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <a9183b39766a483caf86aaa926f3554c>:0)
    22. UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <a9183b39766a483caf86aaa926f3554c>:0)
    23. UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a9183b39766a483caf86aaa926f3554c>:0)
    24. UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <a9183b39766a483caf86aaa926f3554c>:0)
    25. UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a9183b39766a483caf86aaa926f3554c>:0)
    26. UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <a9183b39766a483caf86aaa926f3554c>:0)
    27. UnityEngine.UIElements.EventDispatcher.OpenGate () (at <a9183b39766a483caf86aaa926f3554c>:0)
    28. UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <a9183b39766a483caf86aaa926f3554c>:0)
    29. UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <a9183b39766a483caf86aaa926f3554c>:0)
    30. UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <a9183b39766a483caf86aaa926f3554c>:0)
    31. UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <a9183b39766a483caf86aaa926f3554c>:0)
    32. UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <a9183b39766a483caf86aaa926f3554c>:0)
    33. UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <a9183b39766a483caf86aaa926f3554c>:0)
    34. UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <819de1aa368e45faa4f78e26c97c62b0>:0)
     
  11. Din0m1te

    Din0m1te

    Joined:
    Sep 9, 2015
    Posts:
    31
    This issue still exists in 2019.4.13f1 and Timeline package v1.2.17. I was able to resolve by resetting the editor layout.
     
  12. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    This is a known issue - as of right now, the issue is currently marked as won't fix. Resetting the layout is the recommend workaround - we have had a difficult time getting a consistent repro project.

    If resetting the layout does not fix the issue, please submit a repro project so we can reopen the issue and deliver a fix.
     
  13. barge9

    barge9

    Joined:
    May 13, 2015
    Posts:
    12
    Worked for me too, thanks a lot, I never would've guessed that!
     
  14. samnzay

    samnzay

    Joined:
    Jul 29, 2020
    Posts:
    1
    Resetting layout worked for me. i have been looking around everywhere, but now it works
     
  15. cdauphin

    cdauphin

    Joined:
    Mar 16, 2018
    Posts:
    17
    How is that bug marked as won't fix ?
    Resetting the layout works temporary, the bug come back after some time.
     
  16. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    As stated above, we have not been able to reproduce the issue. If you have a repro case, (including layout files) please submit them.
     
  17. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Small update on this. Literally - a couple hours after posting 2 separate people at Unity starting experiencing this. So, we have a valid repro case and have reopened the bug.

    With luck we will have a fix soon.
     
  18. timmccune

    timmccune

    Joined:
    Sep 27, 2018
    Posts:
    23
    Still happening in Unity 2019.4.14.f1 (LTS as of today). Any fix yet?
     
  19. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    The fix will be available in 2019.4.15f1.
     
    raimundoperez likes this.
  20. talonairk

    talonairk

    Joined:
    Oct 6, 2020
    Posts:
    3
    Can confirm setting your layout to default fixes the problem
     
    Immu likes this.
  21. optnw

    optnw

    Joined:
    Oct 21, 2016
    Posts:
    3
    A new Installation of the current Unity version you are using will also fix the problem.

    Helped me a few weeks ago.
     
  22. Rafaelski

    Rafaelski

    Joined:
    May 1, 2019
    Posts:
    12
    OMG that was the issue. thanks. What a strange bug
     
  23. maewionn

    maewionn

    Joined:
    Jan 18, 2016
    Posts:
    37
    So, if I am still having this in unity 2019.4.2 (LTS) and reverting the layout to factory doesn't help, that's bad news, right?

    Oh, and when I open the timeline tab after having reverted, I get this error immediatly:

    ArgumentException: Getting control 2's position in a group with only 2 controls when doing repaint
    Aborting
    UnityEngine.GUILayoutGroup.GetNext () (at <819de1aa368e45faa4f78e26c97c62b0>:0)
    UnityEngine.GUILayoutUtility.BeginLayoutArea (UnityEngine.GUIStyle style, System.Type layoutType) (at <819de1aa368e45faa4f78e26c97c62b0>:0)
    UnityEngine.GUILayout.BeginArea (UnityEngine.Rect screenRect, UnityEngine.GUIContent content, UnityEngine.GUIStyle style) (at <819de1aa368e45faa4f78e26c97c62b0>:0)
    UnityEngine.GUILayout.BeginArea (UnityEngine.Rect screenRect) (at <819de1aa368e45faa4f78e26c97c62b0>:0)
    UnityEditor.ClipCurveEditor.DrawHeader (UnityEngine.Rect headerRect) (at Library/PackageCache/com.unity.timeline@1.2.15/Editor/Animation/ClipCurveEditor.cs:149)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
  24. ArianeBoies

    ArianeBoies

    Joined:
    Jan 14, 2021
    Posts:
    2
    Same here, this happens to me in Unity 2020.3.0f1, resetting the layout doesn't help.