Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.11f1
2021.1
2021.2
2022.1
Issue ID
1350726
Regression
No
Buoyancy effector 2D only behaves normally when using Box Collider 2D
How to reproduce:
1. Open the attached project's Scene labeled "SampleScene"
2. Enter the Play Mode
3. Inspect how different colliders on Buoyancy Effector 2D react to collision
Expected result: Either different colliders than Box Collider 2D are supported or limitations are documented
Actual result: Only Box Collider 2D behaves normally and there is no documentation regarding limitations
Reproducible with: 2019.4.29f1, 2020.3.15f1, 2021.1.16f1, 2021.2.0b5, 2022.1.0a3
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
- Uninitialized variable warning appears in the Inspector of a custom shader when the variable is initialized
- "Failed creating toolbar element from ID..." error is thrown when resetting the Scene view Overlay layout while an Asset Transformer Toolbox overlay is active
- Entity ID for Font Assets is serialized twice which throws an error when using Debug Inspector
- Play Mode can be entered when disabling Adaptive Performance and pressing either the Play Mode button or the keyboard shortcut to enter Play Mode before recompilation leading to errors and warnings thrown
- Parent ListView element also becomes selected when inner ListView element is selected
Resolution Note:
EdgeCollider2D doesn't define areas, it defines edges only. It is the only open shape in 2D Physics. Thus when RigidBody2D is surrounded by Edge colliders, there's no contact and it's not affected by the effector. All other shapes are closed and BuoyancyEffector2D affects RigidBody2D when inside them.