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
- Fixing Message Loss in UMPE During Domain Reload
- The Editor freezes when ScheduleReadOnly of IJobParallelForTransform with dependency is used
- Text is truncated in the Inspector when the display scale is set to 150%
- CancellationTokenSource(<timeout>) has incorrect cancellation status when used in WebGL Player
- VFX property value names are cut off when properties with 'Arc' are viewed in the VFX Blackboard
Add comment