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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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.