+3
Fixed

Shortcut not available. You are pushing more GUIClips than you are popping.

TrooperAdvert 1 month ago updated by Lazlo Bonin (Lead Developer) 1 month ago 4 1 duplicate

Hi, I've just downloaded and imported into the existing 2d project to give a try Peek tool.

Unfortunately, first what I saw were those errors:

Stacktrace:

[Exception] ArgumentException: Shortcut not available
ShortcutManagerImplementation.GetShortcutBinding() at :0

ToolbarControl.GetShortcutLabel() at /Ludiq/Ludiq.Peek/Editor/Toolbars/ToolbarControl.cs:346
344: {
345: #if UNITY_2019_1_OR_NEWER
-->346: var mapping = ShortcutManager.instance.GetShortcutBinding($"Peek/{(primary ? "Primary" : "Secondary")} Toolbar {index}");
348: if (!mapping.keyCombinationSequence.Any())

ToolbarControl.DrawInSceneView() at /Ludiq/Ludiq.Peek/Editor/Toolbars/ToolbarControl.cs:470
468: {
469: toolControl.shortcutIndex = shortcutIndex % 10;
-->470: toolControl.shortcutLabel = GetShortcutLabel(shortcutIndex, hasPrimaryShortcuts);
471: toolControl.shortcutModifiers = GetShortcutModifiers(shortcutIndex, hasPrimaryShortcuts);
472: shortcutIndex++;

Tabs.OnSceneGUI() at /Ludiq/Ludiq.Peek/Editor/Tabs/Tabs.cs:250
248: }
-->250: toolbarControl.DrawInSceneView();
252: if (!reopenedTabs)

SceneViewIntegration.OnSceneGUI() at /Ludiq/Ludiq.Peek/Editor/Integration/SceneViewIntegration.cs:37
35: used = false;
-->37: Tabs.OnSceneGUI(sceneView);
39: SceneToolbars.OnSceneGUI(sceneView);

SceneView.CallOnSceneGUI() at :0

SceneView.HandleSelectionAndOnSceneGUI() at :0

SceneView.OnGUI() at :0

MonoMethod.Invoke() at :0

MonoMethod.Invoke() at :0

MethodBase.Invoke() at :0

HostView.Invoke() at :0

HostView.Invoke() at :0

HostView.InvokeOnGUI() at :0

MaximizedHostView.OldOnGUI() at :0

IMGUIContainer.DoOnGUI() at <78b213560771414e9fa6f1b95f5ad8bb>:0

IMGUIContainer.HandleIMGUIEvent() at <78b213560771414e9fa6f1b95f5ad8bb>:0

IMGUIContainer.DoIMGUIRepaint() at <78b213560771414e9fa6f1b95f5ad8bb>:0

RenderChainCommand.ExecuteNonDrawMesh() at <78b213560771414e9fa6f1b95f5ad8bb>:0

RenderChain.Render() at <78b213560771414e9fa6f1b95f5ad8bb>:0

UIRRepaintUpdater.DrawChain() at <78b213560771414e9fa6f1b95f5ad8bb>:0

UIRRepaintUpdater.Update() at <78b213560771414e9fa6f1b95f5ad8bb>:0

VisualTreeUpdater.UpdateVisualTreePhase() at <78b213560771414e9fa6f1b95f5ad8bb>:0

Panel.UpdateForRepaint() at <78b213560771414e9fa6f1b95f5ad8bb>:0

Panel.Repaint() at <78b213560771414e9fa6f1b95f5ad8bb>:0

UIElementsUtility.DoDispatch() at <78b213560771414e9fa6f1b95f5ad8bb>:0

UIElementsUtility.ProcessEvent() at <78b213560771414e9fa6f1b95f5ad8bb>:0

GUIUtility.ProcessEvent() at <819de1aa368e45faa4f78e26c97c62b0>:0


Second one:
[Exception] ArgumentException: Shortcut not available
ShortcutManagerImplementation.GetShortcutBinding() at :0

ToolbarControl.GetShortcutLabel() at /Ludiq/Ludiq.Peek/Editor/Toolbars/ToolbarControl.cs:346
344: {
345: #if UNITY_2019_1_OR_NEWER
-->346: var mapping = ShortcutManager.instance.GetShortcutBinding($"Peek/{(primary ? "Primary" : "Secondary")} Toolbar {index}");
348: if (!mapping.keyCombinationSequence.Any())

ToolbarControl.DrawInSceneView() at /Ludiq/Ludiq.Peek/Editor/Toolbars/ToolbarControl.cs:470
468: {
469: toolControl.shortcutIndex = shortcutIndex % 10;
-->470: toolControl.shortcutLabel = GetShortcutLabel(shortcutIndex, hasPrimaryShortcuts);
471: toolControl.shortcutModifiers = GetShortcutModifiers(shortcutIndex, hasPrimaryShortcuts);
472: shortcutIndex++;

Tabs.OnSceneGUI() at /Ludiq/Ludiq.Peek/Editor/Tabs/Tabs.cs:250
248: }
-->250: toolbarControl.DrawInSceneView();
252: if (!reopenedTabs)

SceneViewIntegration.OnSceneGUI() at /Ludiq/Ludiq.Peek/Editor/Integration/SceneViewIntegration.cs:37
35: used = false;
-->37: Tabs.OnSceneGUI(sceneView);
39: SceneToolbars.OnSceneGUI(sceneView);

SceneView.CallOnSceneGUI() at :0

SceneView.HandleSelectionAndOnSceneGUI() at :0

SceneView.OnGUI() at :0

MonoMethod.Invoke() at :0

MonoMethod.Invoke() at :0

MethodBase.Invoke() at :0

HostView.Invoke() at :0

HostView.Invoke() at :0

HostView.InvokeOnGUI() at :0

MaximizedHostView.OldOnGUI() at :0

IMGUIContainer.DoOnGUI() at <78b213560771414e9fa6f1b95f5ad8bb>:0

Waiting for response :)

Unity Version:
2019.4.1f1
Peek Version:
1.2.0

Duplicates 1

Working on Fix

Hi everyone,

We're testing a fix for this which should make it into today's patch release.

Thank you for your patience.

Fixed

Hello,

The fix is available in Peek v.1.2.0f1, which is now available on the Ludiq download page and soon on the Unity Asset Store:

https://ludiq.io/peek/download/1.2.0

I can't download because I bought humble.

You can download it from the Unity Asset Store now. There's only usually about ~30-60 minutes delay before it gets approved.