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
- Animator state transition preview clips are flickering when zooming in
- [Tile Palette] Sprites not rendering when brush tool "Paint a filled box with active brush" is used for the first time
- Adding available Nodes with longer names in Fragment Context window overflow Fragment Context window in Shader Graph
- Longer Shader Graph Property Reference names breaks VFX Graph Output Particle Node
- "DebugAllocatorMode" option changes when changed in another Editor instance
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.