Search Issue Tracker

Fixed in 2022.1.X

Votes

0

Found in

2021.2

2021.2.8f1

Issue ID

1397323

Regression

No

Editor crashes when undoing freshly created GameObject

Scene Management

-

Reproduction steps:
1. Open users attached project
2. Open Assets/Scenes/Standart/MainScreen scene in the Project window
3. Right-click on the Hierarchy window
4. Press Modern UI Pack > Button > Basic > Standart
5. Press anywhere in the Hierarchy window and spam CTRL+Z

Expected result: Modern UI Button is removed
Actual result: Editor crashes

Reproducible with: 2021.2.8f1
Not reproducible with: 2022.1.0a1, 2022.1.0b5, 2022.2.0a2
Could not test with: 2019.4.35f1, 2020.3.27f1 (could not Downgrade the Project)

Stack trace:
0x00007ff62a1d9583 (Unity) Transform::CountNodesDeep
0x00007ff62a1de4eb (Unity) Transform::RebuildTransformHierarchy
0x00007ff62b2d3a35 (Unity) UndoManager::CheckConsistencyOfAffectedTransforms
0x00007ff62b2d9364 (Unity) UndoManager::PostApply

  1. Resolution Note (fix version 2022.1):

    Fixed in 2022.1.0a1

Add comment

Log in to post comment