Skip to content

Instantly share code, notes, and snippets.

@MostHated
Created October 11, 2019 18:28
Show Gist options
  • Save MostHated/f31deee3837111de784f0fe0005fc544 to your computer and use it in GitHub Desktop.
Save MostHated/f31deee3837111de784f0fe0005fc544 to your computer and use it in GitHub Desktop.
slate errors
[Exception] NullReferenceException: Object reference not set to an instance of an object
CutsceneEditor.CacheMagnetSnapTimes() Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:250
248: result.Add(length);
249: result.Add(cutscene.currentTime);
-->250: result.AddRange(cutscene.directorGroup.sections.Select(s => s.time));
251: foreach ( var cw in clipWrappers ) {
252: var action = cw.Value.action;
CutsceneEditor+ActionClipWrapper.OnClipGUI() Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:2549
2547: }
2548: editor.interactingClip = this;
-->2549: editor.CacheMagnetSnapTimes(action);
2550: }
CutsceneEditor.ActionClipWindow() Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:2420
2418: ActionClipWrapper wrapper = null;
2419: if ( clipWrappers.TryGetValue(id, out wrapper) ) {
-->2420: wrapper.OnClipGUI(id);
2421: }
2422: }
GUI.CallWindowDelegate() /home/builduser/buildslave/unity/build/Modules/IMGUI/GUI.cs:1694
EditorWindow.BeginWindows()
CutsceneEditor.ShowTimeLines() Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:1813
1812: //Begin Windows
-->1813: BeginWindows();
1815: //GROUPS
CutsceneEditor.OnGUI() Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:774
772: scrollPos = GUI.BeginScrollView(scrollRect1, scrollPos, scrollRect2);
773: ShowGroupsAndTracksList(leftRect);
-->774: ShowTimeLines(centerRect);
775: GUI.EndScrollView();
776: ///---
GUIUtility.ProcessEvent() /home/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:187
// ---------------------------------------------------
[Exception] NullReferenceException: Object reference not set to an instance of an object
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
CutsceneEditor.MagnetSnapTime() Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:266
264: var bestDistance = float.PositiveInfinity;
265: var bestTime = float.PositiveInfinity;
-->266: for ( var i = 0; i < snapTimes.Length; i++ ) {
267: var snapTime = snapTimes[i];
268: var distance = Mathf.Abs(snapTime - time);
CutsceneEditor.ShowTimeLines() Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:2019
2017: //Magnet snapping when dragging clip
2018: if ( Prefs.magnetSnapping && !e.control ) {
-->2019: var snapStart = MagnetSnapTime(xTime, magnetSnapTimesCache);
2020: var snapEnd = MagnetSnapTime(xTime + action.length, magnetSnapTimesCache);
2021: if ( snapStart != null && snapEnd != null ) {
CutsceneEditor.OnGUI() Assets/ParadoxNotion/SLATE Cinematic Sequencer/Design/Editor/Windows/CutsceneEditor.cs:774
772: scrollPos = GUI.BeginScrollView(scrollRect1, scrollPos, scrollRect2);
773: ShowGroupsAndTracksList(leftRect);
-->774: ShowTimeLines(centerRect);
775: GUI.EndScrollView();
776: ///---
MonoMethod.Invoke() <437ba245d8404784b9fbab9b439ac908>:0
MonoMethod.Invoke() <437ba245d8404784b9fbab9b439ac908>:0
MethodBase.Invoke() <437ba245d8404784b9fbab9b439ac908>:0
HostView.Invoke() /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:369
HostView.Invoke() /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:363
HostView.InvokeOnGUI() /home/builduser/buildslave/unity/build/Editor/Mono/HostView.cs:339
DockArea.DrawView() /home/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:357
DockArea.OldOnGUI() /home/builduser/buildslave/unity/build/Editor/Mono/GUI/DockArea.cs:347
IMGUIContainer.DoOnGUI() /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:291
IMGUIContainer.HandleIMGUIEvent() /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:501
IMGUIContainer.HandleIMGUIEvent() /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:484
IMGUIContainer.SendEventToIMGUI() /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:475
IMGUIContainer.HandleEvent() /home/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:447
EventDispatchUtilities.PropagateEvent() /home/builduser/buildslave/unity/build/Modules/UIElements/Events/IEventDispatchingStrategy.cs:81
MouseEventDispatchingStrategy.DispatchEvent() /home/builduser/buildslave/unity/build/Modules/UIElements/Events/MouseEventDispatchingStrategy.cs:53
EventDispatcher.ProcessEvent() /home/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:277
EventDispatcher.ProcessEventQueue() /home/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:238
EventDispatcher.OpenGate() /home/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:203
EventDispatcherGate.Dispose() /home/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:44
EventDispatcher.ProcessEvent() /home/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:310
EventDispatcher.Dispatch() /home/builduser/buildslave/unity/build/Modules/UIElements/EventDispatcher.cs:159
BaseVisualElementPanel.SendEvent() /home/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:245
UIElementsUtility.DoDispatch() /home/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.bindings.cs:357
UIElementsUtility.ProcessEvent() /home/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.bindings.cs:153
GUIUtility.ProcessEvent() /home/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:187
// --- ------------------------------------------------
[Error] GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
// --- ------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment