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
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)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- In Deferred rendering path, mixed lights don't render when enabling "Use Rendering Layers" in the Decal renderer feature
- [Windows] Special characters in file names are sorted to the end of the alphabet in the Project window
- Information box icons are not contained within the information box bounds in Render Pipeline Converter window
- Crash on UnityEngine.UI.RawImage:OnPopulateMesh when playing Raw Image Texture animation with Sprite keyframes
- 32bit floating point RenderTexture blending feature is not available for WebGPU
jonkhan233158
Dec 31, 2022 10:14
I am having the same issue as in 2021.3.11f1 as the issue occurs as represented by @NAISHTECH
unity_020817lee
Dec 23, 2022 12:11
same me in 2021.3.11f1
senya02
Nov 08, 2022 18:31
Same me in 2021.3.10f1
Whatever560
Oct 22, 2022 13:51
Exactly the issue stated by LEFOV
Repro : duplicate a child of a prefabed game object
ctrl z to undo the duplicate.
LeFoV
Oct 04, 2022 12:54
2021.3f11 ctrl z keep crashing the engine
Repro : duplicate a child of a prefabed game object
ctrl z to undo the duplicate
=> crash, always, all the time, suuuuper annoying
YuHeLong
Sep 28, 2022 01:16
2021,.3.9f1
stirlitz92
Sep 18, 2022 21:35
same me in 2021.3.9f
blackf13
Sep 18, 2022 07:52
same me in 2021.3.9f
naishtech
Sep 11, 2022 06:35
1. Create a prefab
2. Open Prefab
3. Drag another prefab as a child
4. CTRL + Z
5. Crash
sh4p
Sep 05, 2022 07:26
happening to me 2021.3.9f1