Search Issue Tracker
Fixed
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
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is shown when launching a freshly created project
- Editor Windows dragging behavior is erratic/glitchy when a specific multi-display setup is used and the Editor window is not on the main display
- Meta Quest missing an icon in Build Profiles window in U6.0
- Foldout arrow indent is misaligned in the Inspector when used for Arrays or Lists
- Material import pipeline strips properties when it is added with a script
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-96074