Search Unity

  1. Get the latest news, tutorials and offers directly to your inbox with our newsletters. Sign up now.
    Dismiss Notice

Feedback Timeline window creates errors in 2018.3.13

Discussion in 'Timeline' started by hedgefield, Apr 23, 2019.

  1. hedgefield

    hedgefield

    Joined:
    Jan 1, 2014
    Posts:
    33
    Hey there,

    I just updated to 2018.3.13 on the latest MacOS macbook pro, and whenever I select the Timeline window, I get a ton of these errors. The timeline still works when I press Play, but the Timeline window stays blank so I can't make any edits.

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.Timeline.ScriptableObjectViewPrefs`1[TViewModel].LoadViewModel () (at /Users/builduser/buildslave/unity/build/Extensions/Timeline/Editor/Window/ViewModel/ScriptableObjectViewPrefs.cs:109)
    UnityEditor.Timeline.ScriptableObjectViewPrefs`1[TViewModel].get_viewModel () (at /Users/builduser/buildslave/unity/build/Extensions/Timeline/Editor/Window/ViewModel/ScriptableObjectViewPrefs.cs:52)
    UnityEditor.Timeline.TimelineWindowViewPrefs.GetOrCreateViewModel (UnityEngine.Timeline.TimelineAsset asset) (at /Users/builduser/buildslave/unity/build/Extensions/Timeline/Editor/Window/ViewModel/TimelineWindowViewPrefs.cs:25)
    UnityEditor.Timeline.SequenceState.get_viewModel () (at /Users/builduser/buildslave/unity/build/Extensions/Timeline/Editor/State/SequenceState.cs:38)
    UnityEditor.Timeline.WindowState.get_timeAreaShownRange () (at /Users/builduser/buildslave/unity/build/Extensions/Timeline/Editor/State/WindowState.cs:515)
    UnityEditor.Timeline.TimelineWindow.SyncTimeAreaShownRange () (at /Users/builduser/buildslave/unity/build/Extensions/Timeline/Editor/Window/TimelineWindow_TimeArea.cs:70)
    UnityEditor.Timeline.TimelineWindow.InitializeTimeArea () (at /Users/builduser/buildslave/unity/build/Extensions/Timeline/Editor/Window/TimelineWindow_TimeArea.cs:40)
    UnityEditor.Timeline.TimelineWindow.InitializeGUIIfRequired () (at /Users/builduser/buildslave/unity/build/Extensions/Timeline/Editor/Window/TimelineWindow.cs:338)
    UnityEditor.Timeline.TimelineWindow.OnGUI () (at /Users/builduser/buildslave/unity/build/Extensions/Timeline/Editor/Window/TimelineWindow.cs:177)
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
    System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
    UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:342)
    UnityEditor.HostView.Invoke (System.String methodName) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:336)
    UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at /Users/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:310)
    UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect, System.Boolean customBorder, System.Boolean floatingWindow, System.Boolean isBottomTab) (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:361)
    UnityEditor.DockArea.OldOnGUI () (at /Users/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:320)
    UnityEngine.Experimental.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:244)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
  2. seant_unity

    seant_unity

    Unity Technologies

    Joined:
    Aug 25, 2015
    Posts:
    1,516
    Close Unity, delete your Library\Timeline folder and try again. That should fix it.
     
    ROBYER1 likes this.
  3. hedgefield

    hedgefield

    Joined:
    Jan 1, 2014
    Posts:
    33
    Rad, that did it, thanks.
     
unityunity