Search Issue Tracker
Fixed in 5.0.1
Fixed in 3.2.4
Votes
0
Found in [Package]
4.2.2, 4.2.1, 3.2.1, 3.1.1, 3.1.0, 3.0.8, 3.0.4, 3.0.3, 3.0.2
Issue ID
1244097
Regression
No
[2d] Sprite Editor window flickers and exception thrown on creating new category in visibility window
Exception thrown in the console and Sprite editor window flickers on scrolling when a new category is created in Visibility window, refer attached video and .PSB file
Steps to Reproduce:
1. Create a New Project with 2D Template
2. Import .PSB file in the project.
3. Window > 2D > Sprite editor.
4. project > Fei_Cel_group.PSB .
5. Sprite editor > Skinning Editor > Create bone(Create 3 bone)
6. Visibilty > Sprite > category
7. Create New category > use slider
Actual Result:
Sprite Editor window flickers and thrown exception
Expected Result:
Sprite Editor window work gracefully without any exception
Reproducible on:
2020.2.0a10, 2020.1.0b8, 2020.1.0b1, 2020.1.0a1, 2019.3.12f1, 2019.3.0a1
Package Found version: 4.2.2, 4.2.1, 3.2.1, 3.1.1, 3.1.0, 3.0.8, 3.0.4, 3.0.3, 3.0.2.
Environment:
Windows 10 and macOS 10.15
Stack trace:
ArgumentException: Getting control 2's position in a group with only 2 controls when doing repaint
Aborting
UnityEngine.GUILayoutGroup.GetNext () (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/LayoutGroup.cs:129)
UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUILayoutUtility.cs:309)
UnityEngine.GUILayout.BeginVertical (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUILayout.cs:279)
UnityEngine.GUILayout.BeginVertical (UnityEngine.GUILayoutOption[] options) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUILayout.cs:271)
UnityEditor.U2D.Animation.VisibilityToolViewBase.OnGUI () (at Library/PackageCache/com.unity.2d.animation@4.1.1/Editor/SkinningModule/VisibilityTool/VisibilityToolBase.cs:74)
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 /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:314)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:618)
UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at /Users/builduser/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:485)
UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRenderer/UIRenderers.cs:114)
Rethrow as ImmediateModeException
UnityEngine.UIElements.UIR.RenderChain.Render () (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:512)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:68)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:83)
UnityEngine.UIElements.Panel.UpdateForRepaint () (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:716)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/Panel.cs:742)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:439)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:209)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:74)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at /Users/builduser/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:28)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at /Users/builduser/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:180)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- A submenu disappears on MacOS when the MenuItem method argument "isVariableFunction" is set to "false" and priority argument is set to "-1"
- The Sprite Library Editor window has an incorrect order of Sprites when the Sprites are reordered and the order saved
- Tilemap Tiles do not get lit up unless the Light Range is greater than the distance between the position of the Tile before the transformation and the Light Source when the Tile is transformed with Tilemap.SetTransformMatrix method
- The Editor and "Reloading Domain" windows are frozen when entering Play Mode
- Crash when attempting to create a custom FMOD DSP unit
Add comment