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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-96074