Search Unity

Feedback Horrible interruptions of my workflow with all sorts of "repaints".

Discussion in 'Editor & General Support' started by soleron, Feb 8, 2021.

  1. soleron

    soleron

    Joined:
    Apr 21, 2013
    Posts:
    580
    Almost everything triggers a repaint of everything, and under certain circumstances the "repaint" crashes.

    Never have I ever seen this in Unity, or any software for that matter and that on a i7, 32GB RAM machine with 8GB GPU in a scene that only features geometry... There are no animations, no scripts no nothing.
    Only static elements. 2020 is probably the worst version of Unity ever. Compared to 2020.x even 2019.x seems fluid and simply marvelous. 2020.2.1f1 was bad, 2f1 is worse!

    To the Editor "Optimization Team", please STOP optimizing...
    the more you claim you optimize the worse it gets.



    Here a repaint happened just for opening the build dialog...
    others happen just for right clicking on the hierarchy view...

    The editor has become so slow that we can even observe the button clicking background process... in slow motion while it crashes.

    upload_2021-2-8_16-7-41.png

    ArgumentException: Getting control 7's position in a group with only 7 controls when doing repaint
    Aborting
    UnityEngine.GUILayoutGroup.GetNext () (at <c4a43b17941d49159984b715d63f1a90>:0)
    UnityEngine.GUILayoutUtility.DoGetRect (System.Single minWidth, System.Single maxWidth, System.Single minHeight, System.Single maxHeight, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) (at <c4a43b17941d49159984b715d63f1a90>:0)
    UnityEngine.GUILayoutUtility.GetRect (System.Single width, System.Single height) (at <c4a43b17941d49159984b715d63f1a90>:0)
    UnityEditor.BuildPlayerWindow.ShowOption (UnityEditor.Build.BuildPlatform bp, UnityEngine.GUIContent title, UnityEngine.GUIStyle background) (at <433cbae83977409887e43d50043210d2>:0)
    UnityEditor.BuildPlayerWindow.ActiveBuildTargetsGUI () (at <433cbae83977409887e43d50043210d2>:0)
    UnityEditor.BuildPlayerWindow.OnGUI () (at <433cbae83977409887e43d50043210d2>:0)
    UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition, UnityEngine.Rect viewRect) (at <433cbae83977409887e43d50043210d2>:0)
    UnityEditor.DockArea.DrawView (UnityEngine.Rect viewRect, UnityEngine.Rect dockAreaRect) (at <433cbae83977409887e43d50043210d2>:0)
    UnityEditor.DockArea.OldOnGUI () (at <433cbae83977409887e43d50043210d2>: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 <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.IMGUIContainer.DoIMGUIRepaint () (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.UIR.RenderChainCommand.ExecuteNonDrawMesh (UnityEngine.UIElements.UIR.DrawParams drawParams, System.Single pixelsPerPoint, System.Exception& immediateException) (at <dfc77513ee31474e91aa78f02ce15977>:0)
    Rethrow as ImmediateModeException
    UnityEngine.UIElements.UIR.RenderChain.Render () (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.UIRRepaintUpdater.Update () (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.Panel.UpdateForRepaint () (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <dfc77513ee31474e91aa78f02ce15977>:0)
    UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <c4a43b17941d49159984b715d63f1a90>:0)
     
    PutridEx likes this.