Search Issue Tracker

Fixed in 2022.1.X

Votes

0

Found in

2021.2

2021.3

2021.3.1f1

2022.1

Issue ID

1425423

Regression

Yes

Unity crashes when creating a new shape in Prefab Mode using Probuilder and then undoing

Scene Management

-

Reproduction steps:
1. Open the attached project "1425423.zip"
2. Open "New Prefab" in Prefab Mode
3. Open the Probuilder window and create a new shape
4. Undo(CTRL+Z)

Expected result: Unity does not crash
Actual result: Unity crashes

Reproducible with: 2021.2.0a20, 2021.2.19f1, 2021.3.2f1, 2022.1.0a11
Not reproducible with: 2019.4.39f1, 2020.3.34f1, 2022.1.0a12, 2022.1.0f1, 2022.2.0a13
Could not test: earlier versions of 2021.2.0a20 - due to invalid dependencies and Probuilder not working

Reproduced on: Windows 10 Pro

First lines of stack trace:
0x00007ff7d7dda058 (Unity) UnityScene::SetRootOrder
0x00007ff7d8f97357 (Unity) StructureUndoBase::ApplyInternal
0x00007ff7d8f8ff58 (Unity) ObjectUndo::ApplyUndo
0x00007ff7d8f9803b (Unity) UndoManager::ApplyUndo
0x00007ff7d8fa1487 (Unity) UndoManager::Undo

  1. Resolution Note (fix version 2022.1):

    FIxed in: 2022.1.0a12

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.