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
- Time.deltaTime is locked to the display's refresh rate when the built Player is moved to a Secondary Display and Windowed Mode is used
- Crash on RaiseException when importing a specific asset
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-96074