Search Issue Tracker
Fixed in 5.4.1
Votes
0
Found in
5.3.5p4
Issue ID
816014
Regression
Yes
The Editor crashes when creating a prefab, undoing the action and trying to rename the prefab
Steps to reproduce the issue:
1. Open attached project and in any scene navigate to the "Hierarchy" window.
2. Create a new game object, name it "Parent" and add "Canvas" component to it.
3. Create an empty child of "Parent", name it "Child" and add "Rect Transform" component to it.
4. Create an empty child of "Child", name it "Grandchild" and add "Rect Transform" component to it.
5. Drag and drop game object named "Child" to the "Assets" folder (inside the "Project" window).
6. Undo the action (press "CTRL and Z").
7. Double click on "Child" prefab to rename it.
8. Enter any new name and press "ENTER" key to submit it.
Actual result:
The Editor crashes.
Expected result:
The Editor should not crash.
Reproduced with:
5.3.5f1, 5.3.5p8, 5.3.6f1, 5.4.0b25, 5.4.0f2, 5.5.0a4.
Cannot reproduce with:
5.1.5f1, 5.2.5f1.
Crash call stack:
GameObjectHierarchyProperty::DoNext
UnityEditor.HierarchyProperty:Next
UnityEditor.GameObjectTreeViewDataSource:InitializeRows
UnityEditor.GameObjectTreeViewDataSource:InitializeMinimal
UnityEditor.GameObjectTreeViewDataSource:FetchData
UnityEditor.TreeViewDataSource:ReloadData
UnityEditor.TreeView:ReloadData
UnityEditor.SceneHierarchyWindow:ReloadData
(wrapper delegate-invoke) UnityEditor.EditorApplication/CallbackFunction:invoke_void__this__
UnityEditor.EditorApplication:Internal_CallProjectWindowHasChanged
object:runtime_invoke_void
mono_jit_runtime_invoke
mono_runtime_invoke
mono_runtime_invoke_profiled
ScriptingInvocation::AdjustArgumentsToMatchMethod
CallStaticMonoMethod
SceneTracker::ProjectWindowHasChanged
AssetInterface::StopAssetEditing
AssetInterface::MoveAsset
AssetInterface::RenameAsset
SetObjectNameSmart
ObjectNames_CUSTOM_SetNameSmartWithInstanceID
UnityEditor.ObjectNames:SetNameSmartWithInstanceID
UnityEditor.ObjectListArea:RenameEnded
UnityEditor.ObjectListArea:HandleRenameOverlay
UnityEditor.ObjectListArea/LocalGroup:DrawItem
UnityEditor.ObjectListArea/LocalGroup:DrawInternal
UnityEditor.ObjectListArea/Group:Draw
UnityEditor.ObjectListArea:HandleListArea
UnityEditor.ObjectListArea:OnGUI
UnityEditor.ProjectBrowser:OnGUI
object:runtime_invoke_void__this__
mono_jit_runtime_invoke
mono_runtime_invoke
mono_runtime_invoke_array
ves_icall_InternalInvoke
System.Reflection.MonoMethod:InternalInvoke
System.Reflection.MonoMethod:Invoke
System.Reflection.MethodBase:Invoke
UnityEditor.HostView:Invoke
UnityEditor.DockArea:OnGUI
object:runtime_invoke_void__this__
mono_jit_runtime_invoke
mono_runtime_invoke
scripting_method_invoke
ScriptingInvocationNoArgs::Invoke
MonoBehaviourDoGUI
IMGUIModule::MonoBehaviourDoGUI
MonoBehaviour::DoGUI
GUIView::OnInputEvent
GUIView::ProcessEventMessages
GUIView::GUIViewWndProc
RelaunchUnity
WinMain
read
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