Search Issue Tracker
Won't Fix
Won't Fix in 2020.3.X, 2021.3.X
Votes
0
Found in
2019.4.40f1
2020.3.36f1
2021.3.3f1
2022.1.3f1
Issue ID
UUM-5018
Regression
No
[Undo] Crash on "GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&)" when Undoing attached Scripts in Nested Prefab
How to reproduce:
1. Create a new Project
2. Create a new Empty GameObject
3. Make it a Prefab
4. Create a Second Empty GameObject
5. Make it a Prefab
6. Combine two Prefabs to make a nested Prefab
7. Apply Override
8. Open Child Prefab of the Nested Prefab in Prefab Mode
9. Attach all TMPro Scripts via Add Component > Scripts > TMPro
10. Exit Prefab mode and when prompted Save your changes
11. Press Undo Command Several Times
Expected results: Undo command does not crash the Editor
Actual results: Unity Editor crashes
Reproducible with: 2019.4.40f1, 2020.3.36f1, 2021.3.3f1, 2022.1.3f1
Not reproducible with: 2022.2.0a16
First lines of Stack Trace:
#0 0x00000100dbcf44 in GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&)
#1 0x00000100dbd07e in GameObject::ActivateAwakeRecursivelyInternal(DeactivateOperation, AwakeFromLoadQueue&)
#2 0x00000100dbcc4e in GameObject::ActivateAwakeRecursively(DeactivateOperation)
#3 0x000001014c611d in AwakeFromLoadQueue::InvokeAwakeFromLoad(AwakeFromLoadQueue::Item, unsigned int, AwakeFromLoadMode)
#4 0x000001014c5ebe in AwakeFromLoadQueue::AwakeFromLoadAllQueues(AwakeFromLoadMode, bool)
#5 0x00000101fc2e4e in ObjectUndo::Restore(bool)
#6 0x00000101fc68a5 in UndoManager::Apply(std::__1::list<UndoBase, stl_allocator<UndoBase*, (MemLabelIdentifier)122, 16> >&, bool)
#7 0x00000101fc6dd7 in UndoManager::Undo()
Notes:
- In 2021 Unity version no Stack Trace is printed when crash happens
Comments (1)
-
madtowngaming
Sep 22, 2022 02:24
2022/9/22 Occurs in my project using Unity 2021.3.9f1 undo a child insertion into prefab hierarchy in prefab editor will crash unity to desktop.
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (2021.3.X):
The original fix cannot be backported, so this port will need a separate fix which is too risky.
Resolution Note (2020.3.X):
The original fix cannot be backported, so this port will need a separate fix which is too risky.