Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.5.0f3
Issue ID
870498
Regression
Yes
[Physics] [Prefab] [Undo] Crash when reverting prefab who had Rigidbody and Joint deleted and then undoing the revert
To reproduce:
1) Create new project
2) Add a cube
3) Add Rigidbody and Configurable Joint on that cube
4) Make it a prefab
5) Select the cube in scene
6) Delete Configurable Joint and Rigidbody from it
7) Revert the changes done by clicking 'Revert' at top of Inspector
8) Undo this step with ctrl+z
CRASH
Reproduced in 5.4.0p4, 5.4.1f1, 5.4.2f1, 5.4.4p1, 5.5.0f3, 5.5.0p4, 5.6.0b4
Not reproduced in 5.4.0p3, 5.4.0p1, 5.4.0f3
On 5.4.0f3 this warning comes up when trying to do this:
Component of type Rigidbody was added to Cube using GameObject.AddComponent() and had become dangling during an undo operation.
Use Undo.AddComponent to correctly add a component which can be handle by the undo system
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is shown when launching a freshly created project
- Editor Windows dragging behavior is erratic/glitchy when a specific multi-display setup is used and the Editor window is not on the main display
- Meta Quest missing an icon in Build Profiles window in U6.0
- Foldout arrow indent is misaligned in the Inspector when used for Arrays or Lists
- Material import pipeline strips properties when it is added with a script
Add comment