Search Issue Tracker
Duplicate
Votes
0
Found in
2018.1.2f1
Issue ID
1086087
Regression
No
Collision event delayed when using OnCollisionEnter2d
Steps to reproduce:
1. Open attached project
2. Open any issued scenes (01IssueCollision2d)
3. Click the Play button and wait for a while, it pauses automatically
4. Press the Step button several times
Expected result: As soon as "Sphere" GameObject collides with "Cube" GameObject Unity should register a collision.
Actual result: As collision happens one frame passes, and only then Unity registers a collision.
Note: If you set "Sphere" RigidBody Collision Detection setting to "Continuous", then Unity detects a collision on the first frame. This issue does not occur on OnTriggerEnter2D.
Reproduced in 2017.4.12f1, 2018.1.9f2, 2018.2.11f1, 2018.3.0b5, 2019.1.0a4
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
- Blank, Light-Themed "Create Node" window becomes visible on the next project open
- UI Elements/Layout inconsistencies in the Particle System component
- The Game view and Scene view fail to render when launching the Editor with a maximized Render Graph Viewer window
- "List is empty" is poorly visible in the "Create Node" window
- [Android] GameObject with a custom shader becomes invisible when deployed with the Vulkan Graphics API
This is a duplicate of issue #904813