Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.1.X, 2021.2.X
Votes
0
Found in
2019.4
2020.2.1f1
2020.3
2021.1
2021.2
Issue ID
1337537
Regression
No
SurfaceEffector2D causes high forces and incorrectly interacts with Collider2D set as trigger.
Reproduction steps:
1. Open the attached project "Repro.zip"
2. Press Play
Expected result: The ball GameObject does not teleport
Actual result: The ball GameObject teleports to (0, 0, 0) Position once its Circle Collider triggers Surface Effector 2D
Reproducible with: 2019.1.0f2, 2019.4.28f1, 2020.3.12f1, 2021.1.11f1, 2021.2.0a20
Not reproducible with: 2018.4.36f1, 2019.1.0f1 (Completely different behavior - the ball bounces off)
Reproducible with:
Editor on MacOS
Not reproducible with:
Player on MacOS
Editor and Player on Windows 10
VLNQA00121, Samsung Galaxy S9, Android: 9, CPU: Exynos 9 Series 9810, GPU: Mali-G72
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
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
- "OnTriggerExit2D" is called before "OnTriggerEnter2D" when object is destroyed immediately
Resolution Note (fix version 2022.1):
This is caused by the fact that the SurfaceEffector2D wasn't ignoring 2D Colliders set to be triggers. Using such colliders resulted in undefined forces being applied.