Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.5f1

2022.1.7f1

2022.2.0a18

2023.1.0a1

Issue ID

UUM-8456

Regression

Yes

Editor crashes when moving specific Prefabs in the Prefab Mode with Move Tool

--

-

How to reproduce:
1. Open project “LearningProject.zip”
2. Open “AirDuct_01_Corner_snaps001” Prefab in the Prefab Mode
3. Move it with Move Tool and observe the result

Expected result: No crash
Actual result: Crash

Reproducible with: 2021.2.0b7, 2021.3.5f1, 2022.1.7f1, 2022.2.0a18, 2023.1.0a1
Not reproducible with: 2020.3.36f1, 2021.2.0b6

Reproduced on: macOS 12.4 (Intel)

Notes:
- Not reproducible on Windows (user’s info)
- Not 100% reproducible
- Sometimes Editor crashes, sometimes freezes

  1. Resolution Note:

    Not reproducible. I tried on macOS 12.4 Unity version 2023.1a4 and could not make it crash

Comments (1)

  1. mschweitzer-phx

    Aug 03, 2022 21:18

    One of the members of my team got a log for Windows, for a potentially related crash as this. This is the stack trace

    Assertion failed on expression: 'insert_before <= end()'
    UnityEngine.StackTraceUtility:ExtractStackTrace ()
    UnityEditor.SceneHierarchy:TreeViewSelectionChanged (int[])
    UnityEditor.IMGUI.Controls.TreeViewController:NotifyListenersThatSelectionChanged ()
    UnityEditor.IMGUI.Controls.TreeViewController:NewSelectionFromUserInteraction (System.Collections.Generic.List`1<int>,int)
    UnityEditor.IMGUI.Controls.TreeViewController:SelectionClick (UnityEditor.IMGUI.Controls.TreeViewItem,bool)
    UnityEditor.IMGUI.Controls.TreeViewController:HandleUnusedMouseEventsForItem (UnityEngine.Rect,UnityEditor.IMGUI.Controls.TreeViewItem,int)
    UnityEditor.IMGUI.Controls.TreeViewController:DoItemGUI (UnityEditor.IMGUI.Controls.TreeViewItem,int,single,bool)
    UnityEditor.IMGUI.Controls.TreeViewController:IterateVisibleItems (int,int,single,bool)
    UnityEditor.IMGUI.Controls.TreeViewController:OnGUI (UnityEngine.Rect,int)
    UnityEditor.SceneHierarchy:DoTreeView (single)
    UnityEditor.SceneHierarchy:OnGUI (UnityEngine.Rect)
    UnityEditor.SceneHierarchyWindow:DoSceneHierarchy ()
    UnityEditor.SceneHierarchyWindow:OnGUI ()
    UnityEditor.HostView:InvokeOnGUI (UnityEngine.Rect)
    UnityEditor.DockArea:DrawView (UnityEngine.Rect)
    UnityEditor.DockArea:OldOnGUI ()
    UnityEngine.UIElements.IMGUIContainer:DoOnGUI (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,bool,UnityEngine.Rect,System.Action,bool)
    UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,UnityEngine.Matrix4x4,UnityEngine.Rect,System.Action,bool)
    UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,System.Action,bool)
    UnityEngine.UIElements.IMGUIContainer:HandleIMGUIEvent (UnityEngine.Event,bool)
    UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase,bool,bool)
    UnityEngine.UIElements.IMGUIContainer:SendEventToIMGUI (UnityEngine.UIElements.EventBase,bool,bool)
    UnityEngine.UIElements.IMGUIContainer:ProcessEvent (UnityEngine.UIElements.EventBase)
    UnityEngine.UIElements.IMGUIContainer:ExecuteDefaultActionAtTarget (UnityEngine.UIElements.EventBase)
    UnityEngine.UIElements.CallbackEventHandler:HandleEvent (UnityEngine.UIElements.EventBase)
    UnityEngine.UIElements.CallbackEventHandler:HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase)
    UnityEngine.UIElements.CallbackEventHandler:HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase)
    UnityEngine.UIElements.MouseCaptureDispatchingStrategy:DispatchEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    UnityEngine.UIElements.EventDispatcher:ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,bool)
    UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    UnityEngine.UIElements.EventDispatcher:ProcessEventQueue ()
    UnityEngine.UIElements.EventDispatcher:OpenGate ()
    UnityEngine.UIElements.EventDispatcherGate:Dispose ()
    UnityEngine.UIElements.EventDispatcher:ProcessEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel)
    UnityEngine.UIElements.EventDispatcher:Dispatch (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.IPanel,UnityEngine.UIElements.DispatchMode)
    UnityEngine.UIElements.BaseVisualElementPanel:SendEvent (UnityEngine.UIElements.EventBase,UnityEngine.UIElements.DispatchMode)
    UnityEngine.UIElements.UIElementsUtility:DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel)
    UnityEngine.UIElements.UIElementsUtility:UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (int,intptr,bool&)
    UnityEngine.UIElements.UIEventRegistration:ProcessEvent (int,intptr)
    UnityEngine.UIElements.UIEventRegistration/<>c:<.cctor>b__1_2 (int,intptr)
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.