Search Issue Tracker
Fixed in 1.0.0
Votes
0
Found in [Package]
1.0.0
Issue ID
1219351
Regression
Yes
[2D] ArgumentException thrown on switching editor types of "Sprite Editor" window
On switching between type selection from the drop-down(Sprite Editor, Custom Outline, Skinning Editor, Custom Physics Shape) of the "Sprite Editor" window causes editor to throws ArgumentException, refer attached video.
Steps to repro:
1. Create a new project with 2D Template.
2. Import any texture
3. Open Sprite Editor Window
4. Switch to "Skinning Editor" and again switch to "Sprite Editor", some time it happen with other types as well.
Actual Result:
ArgumentException throw on changing types of "Sprite Editor" window like Skinning Editor, Custom Outline, Secondary Texture
Expected Result:
Types of the "Sprite Editor" window get selected without throwing any exception
Occurring on:
2020.1.0a24
Working Fine on:
2020.1.0a23, 2019.3.2f1
Package version found: 1.0.0
Environment:
Windows 10 and macOS 10.14
Stack trace:
ArgumentException: GUILayout: Mismatched LayoutGroup.mouseMove
UnityEngine.GUILayoutUtility.BeginLayoutArea (UnityEngine.GUIStyle style, System.Type layoutType) (at <fa83d136cc594919bea78eaa8421fde3>:0)
UnityEngine.GUILayoutUtility.DoBeginLayoutArea (UnityEngine.GUIStyle style, System.Type layoutType) (at <fa83d136cc594919bea78eaa8421fde3>:0)
UnityEditor.EditorGUILayoutUtilityInternal.BeginLayoutArea (UnityEngine.GUIStyle style, System.Type LayoutType) (at <b5dfd306d52c499dac4432750bc73cf9>:0)
UnityEditor.GUIView.BeginOffsetArea (UnityEngine.Rect screenRect, UnityEngine.GUIContent content, UnityEngine.GUIStyle style) (at <b5dfd306d52c499dac4432750bc73cf9>:0)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <b5dfd306d52c499dac4432750bc73cf9>:0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <b5dfd306d52c499dac4432750bc73cf9>:0)
UnityEditor.DockArea.OldOnGUI () (at <b5dfd306d52c499dac4432750bc73cf9>:0)
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 <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateToIMGUIContainer (UnityEngine.UIElements.VisualElement root, UnityEngine.UIElements.EventBase evt) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.SendEventToIMGUIContainer (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.SendEventToTarget (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.MouseEventDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <3ba7d054e9e347bc9510309c7861b19b>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <fa83d136cc594919bea78eaa8421fde3>:0)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment