Search Issue Tracker
Duplicate
Votes
1
Found in
4.3.1f1
Issue ID
584835
Regression
No
Removing Rigidbody2D in play mode disables object collision
To reproduce:
1) Open '2DBug.rar' project that user attached.
2) Open 'Scene' scene and press play
3) You will notice that in 2D part, left red cube goes right trough blue rectangle while in 3D, right red cube stays on blue rectangle.
There are script attached that removes rigidbodies from those objects on start.
It is expected that 2D cube stays on rectangle, rather than falling trough, since rectangle still has 'Box Collider 2D'.
Disabling and enabling 'Box Collider 2D' on rectangle makes it behave as expected, it seems that disabling 'Rigidbody2D' disables and 'Box Collider 2D' along with it, without showing that in object inspector.
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
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- Crash on dynamixel_sdk.dynamixel:groupSyncReadTxRxPacket when entering Play Mode after updating path to Dynamixel SDK in script
- NullReferenceException is thrown when changing the Inspector preview selection
This is a duplicate of issue #582006