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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-96074