Search Issue Tracker

Active

Votes

0

Found in

6000.0.36f1

6000.1.0b4

6000.2.0a1

Issue ID

UUM-96074

Regression

Yes

Crash on UI::RectTransform::SetDrivenByObject when rapidly undoing copies of a specific GameObject

-

How to reproduce:
1. Open the attached “IN-92886.zip” project
2. Open the “Scene_atelier” scene
3. Select and copy the “Canvas” GameObject
4. In the Hierarchy window, paste the copied GameObject 5 times
5. Undo previous actions by rapidly pressing CTRL + Z 5 times
6. Observe the crash

Reproducible in: 6000.0.28f1, 6000.0.36f1, 6000.1.0b4, 6000.2.0a1
Not reproducible in: 2022.3.57f1, 6000.0.27f1

Reproducible on: Windows 10, Windows 11
Not reproducible on: No other environments tested

First few lines of stacktrace:

{noformat}0x00007FFC16B31DEF (Unity) PPtr<Object>::operator Object * __ptr64
0x00007FFC1768A2EC (Unity) UI::RectTransform::SetDrivenByObject
0x00007FFC18ACE345 (Unity) PropertyDiffUndo::Apply
0x00007FFC18AB89A8 (Unity) UndoManager::ApplyUndo
0x00007FFC18ACC6A1 (Unity) UndoManager::Undo
0x00007FFC1841BCE3 (Unity) MenuController::ExecuteMenuItem{noformat}

Notes:
- It is not necessary to use the CTRL + Z shortcut to undo, the issue also reproduces by clicking on Edit > Undo Paste Canvas

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.