Search Issue Tracker
Duplicate
Votes
0
Found in
2019.4
2020.3
2020.3.26f1
2021.1
2021.2
Issue ID
1393271
Regression
No
Editor crashes when undoing and redoing the adding of components on a Prefab instance that has a Tree component
How to reproduce:
1. Open the attached project "My project.zip"
2. Open the "scene" Scene from the Project window
3. Select "Object1" or "Tree" in the Hierarchy window
4. Add any component to the selected GameObject
5. Undo and redo the action
6. Undo and redo the action again
Expected result: No crash
Actual result: Crash occurs
Reproducible with: 2019.4.33f1, 2020.3.26f1, 2021.1.0a1
Not reproducible with: 2021.1.0a2, 2021.2.9f1, 2022.1.0b3, 2022.2.0a2
Notes:
1. Reproducible on Windows 11, Windows 10 and macOS
2. Crash occurs after undoing for the second time if adding a Cloth component to the "Tree" GameObject
3. Editor does not crash if the GameObject is not a Prefab instance
4. The Prefab does not have to have the Tree component, only the instance does
-
Resolution Note (2022.2.X):
Fixed in: 2021.1.0a2
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
This is a duplicate of issue #1280223