Search Issue Tracker

Active

Votes

0

Found in

6000.0.36f1

6000.1.0b4

6000.2.0a1

Issue ID

UUM-96500

Regression

No

Crash on PPtr<Object>::operator when undoing "Modern UI Pack" elements

-

Reproduction steps:
1. Open the attached project "CrashRepro"
2. Right-click any GameObject in the Hierarchy window > Modern UI pack > Buttons > Standart
3. Ctrl + d (duplicate) a few times (not necessary but seems to make it crash more consistently)
4. Ctrl + z (undo)

Expected result: Button creation is undone
Actual result: Editor crashes

Reproducible with: 6000.0.36f1, 6000.1.0b4, 6000.2.0a1
Couldn’t test with: 2022.3.57f1 - package errors

Reproducible on: Windows 11
Not reproducible on: No other environment tested

First few lines of stack trace:

{noformat}0x00007FFE39DB1DEF (Unity) PPtr<Object>::operator Object * __ptr64
0x00007FFE3A90A2EC (Unity) UI::RectTransform::SetDrivenByObject
0x00007FFE3BD4E345 (Unity) PropertyDiffUndo::Apply
0x00007FFE3BD389A8 (Unity) UndoManager::ApplyUndo
0x00007FFE3BD4C6A1 (Unity) UndoManager::Undo{noformat}

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.