Search Issue Tracker

Fixed in 2018.1.X

Votes

3

Found in

5.4.0f3

Issue ID

821730

Regression

No

Crash on "GameObject::ActivateAwakeRecursivelyInternal" using "Undo" function

Scene Management

-

Reproduction steps:
1. Open the attached project.
2. Open the "Scenes > TestAnim" scene.
3. Expand the "Spider" game object in the hierarchy.
4. Select "Body" game object.
5. Go to "Window > puppet2D > Skinning" and click "Convert Sprite To Mesh".
6. Click "Yes Overwrite" if new window pops up.
7. Go to "Edit > Undo".
8. Editor crashes on:

0x000000014004A30C (Unity) GameObject::ActivateAwakeRecursivelyInternal
0x0000000140BCCFF6 (Unity) ObjectUndo::Restore
0x0000000140BC9D40 (Unity) UndoManager::Apply
0x0000000140BCA2DB (Unity) UndoManager::Undo
0x0000000140E39082 (Unity) ExecuteStandardMenuItem
0x0000000140E2E3DF (Unity) GUIView::ProcessEventMessages
0x0000000140E2FF5A (Unity) GUIView::GUIViewWndProc
0x00007FFF64AC1169 (USER32) DispatchMessageW
0x00007FFF64AC0C97 (USER32) DispatchMessageW
0x0000000140E3D8B9 (Unity) FindMonoBinaryToUse
0x0000000140E3EF4C (Unity) WinMain
0x00000001415BCA40 (Unity) strnlen
0x00007FFF64928102 (KERNEL32) BaseThreadInitThunk

Comments (3)

  1. Muaaz

    May 03, 2019 07:31

    Unity is not even opening for the current project.

  2. GiMiTiUs

    Sep 20, 2018 07:43

    Also this may happen if you accidentally forgot to remove the part of your code and set it into a infinite loops of 'for loops' them calculating and spawning gameObjects (in-game). Serious "Oops!" as some might say.
    (25 + 25) * infinite = enough objects to crash unity and give you this issue.

  3. Martian-Games

    Jul 27, 2018 10:21

    This may happen if you Instantiate a prefab on Awake which in turn instantiates another copy of itself recursively.

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.