Search Issue Tracker

Fixed in 5.4.0

Votes

1

Found in

5.3.5f1

Issue ID

814031

Regression

Yes

Unity crashes after pressing 'CTRL+Z' multiple times

Inspector Functionality

-

Steps to reproduce:
1. Open attached project.
2. Open scene named "Level".
3. Select all game objects in the "Hierarchy" window and duplicate them multiple times by pressing "CTRL+D".
4. Select any game object (that is not a prefab) from the "Hierarchy" window, drag and drop it to any prefab from the "Assets" folder to replace it (press "Replace anyway" button when the "Possibly unwanted Prefab replacement" window appears).
5. Repeat the 4th step several times.
6. Try holding "CTRL+Z" combination to undo the actions performed earlier.

Actual result:
The Editor crashes.

Expected result:
It should be possible to undo the actions performed earlier by pressing "CTRL+Z" multiple times.

Reproduced with: 5.3.5f1, 5.4.0f1, 5.4.0b25, 5.5.0f3.

========== OUTPUTING STACK TRACE ==================

0x000000014004A139 (Unity) GameObject::ActivateAwakeRecursivelyInternal
0x0000000140BCF8F6 (Unity) ObjectUndo::Restore
0x0000000140BCC5D0 (Unity) UndoManager::Apply
0x0000000140BCCB6B (Unity) UndoManager::Undo
0x0000000140E389E2 (Unity) ExecuteStandardMenuItem
0x0000000140E2E01F (Unity) GUIView::ProcessEventMessages
0x0000000140E2FB9A (Unity) GUIView::GUIViewWndProc
0x00007FF8A7D21169 (USER32) DispatchMessageW
0x00007FF8A7D20C97 (USER32) DispatchMessageW
0x0000000140E3D229 (Unity) FindMonoBinaryToUse
0x0000000140E3E8BC (Unity) WinMain
0x00000001415B8B50 (Unity) strnlen
0x00007FF8A83F8102 (KERNEL32) BaseThreadInitThunk

========== END OF STACKTRACE ===========

Only with 5.3.5f1 (not always) the stack trace was different:

========== OUTPUTING STACK TRACE ==================

0x0000000140B87E12 (Unity) ObjectUndo::Restore
0x0000000140B8E770 (Unity) UndoManager::Apply
0x0000000140B8ED0B (Unity) UndoManager::Undo
0x0000000140DBDEA2 (Unity) ExecuteStandardMenuItem
0x0000000140DBE1BD (Unity) ExecuteMenuItemWithID
0x0000000140DCED58 (Unity) ProcessMainWindowMessages
0x0000000140DB4DCA (Unity) ContainerWindow::ContainerWndProc
0x00007FF8A7D21169 (USER32) DispatchMessageW
0x00007FF8A7D20EE2 (USER32) DispatchMessageW
0x00007FF8A7D30BEE (USER32) GetMenuItemInfoW
0x00007FF8A8538BA4 (ntdll) KiUserCallbackDispatcher
0x00007FF8A7D42334 (USER32) WaitMessage
0x00007FF8A7D63304 (USER32) TranslateAcceleratorA
0x0000000140DCFC57 (Unity) RelaunchUnity
0x0000000140DD131B (Unity) WinMain
0x000000014151EF94 (Unity) read
0x00007FF8A83F8102 (KERNEL32) BaseThreadInitThunk

========== END OF STACKTRACE ===========

Cannot reproduce with:
5.1.5f1, 5.2.5f1.

Comments (14)

  1. sh4p

    Sep 05, 2022 07:26

    happening to me 2021.3.9f1

  2. kellcolee

    Apr 16, 2021 23:27

    +1, this just happened during a tutorial

  3. Alex

    May 11, 2017 12:43

    And to me too.

  4. trialforce

    Apr 25, 2017 02:23

    It happens to me in Unity 5.6 too, it's not fixed.

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.