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
- Particle System only collides with one Terrain Collider at a time when Collision Type is set to 'World'
- Editor crashes on StoredGraphicsBuffer::GetGfxBufferID when VFX Graph property is modified during Play Mode and Application.targetFrameRate is used to limit FPS
- Crash on NVAPI_Thunk when changing Player resolution while HDR display is used and Direct3D12 is set as the graphics API
- Only one out of multiple cameras is shown in the Play Mode while HDR display is used and Direct3D12 is set as the graphics API
- The "Paste Component as New" option is incorrectly displayed as active despite the action being prohibited
Add comment