Search Issue Tracker

Won't Fix

Votes

0

Found in

2021.3.9f1

2022.2.0b10

2023.1.0a14

Issue ID

UUM-17102

Regression

Yes

undo paste as child for ui elements causes editor crash

-

# open attached project sample scene
# go to hierarchy and copy any element under canvas
# paste as child under canvas
# undo

Actual result: editor crash

Reproduce on  2021.3.9+

can not reproduce 2021.3.8

 

Stack trace:

Obtained 13 stack frames.

#0 0x000001023a501e in Transform::GetTransformAccess()

#1 0x00000102b6fce7 in UI::CanvasRenderer::Deactivate(DeactivateOperation)

#2 0x00000101ea11e0 in GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&)

#3 0x00000101ea0cee in GameObject::ActivateAwakeRecursively(DeactivateOperation)

#4 0x00000101ea1daa in GameObject::Deactivate(DeactivateOperation)

#5 0x0000010220c9cb in DestroyObjectHighLevel_Internal(Object*, bool)

#6 0x00000102209ae1 in DestroyObjectHighLevel(Object*, bool)

#7 0x000001032bd462 in CreatedObjectUndo::ApplyUndo()

#8 0x000001032c4369 in UndoManager::ApplyUndo()

#9 0x000001032c4b07 in UndoManager::Undo()

#10 0x00000103567c2d in EditMenu::Execute(MenuItem const&)

#11 0x0000010300d54e in MenuController::ExecuteMenuItem(MenuItem&, MenuController::ExecutionCause)

#12 0x00000101c86748 in EditorApplication_CUSTOM_ExecuteMenuItem(ScriptingBackendNativeStringPtrOpaque*)

 

  1. Resolution Note:

    There are no fixes planned for this Bug

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.