Search Issue Tracker

Duplicate

Votes

19

Found in

4.3.1f1

Issue ID

581260

Regression

No

OnTriggerEnter2D behaves like OnTriggerStay2D under certain circumstances

Physics2D

-

Steps to reproduce :

- import the project attached
- open the "Test" scene
- press play and notice the messages in the console

Duplicate : http://issuetracker.unity3d.com/issues/ontriggerstay2d-is-called-not-properly

  1. Response avatar

    This is a duplicate of issue #575758

    OnTriggerStay2D is called not properly

Comments (9)

  1. 5dd4c14db2b77a043c88966e79064651?d=mm

    hmortensen2907

    May 17, 2014 13:17

    Just hit the same issue in in 4.3.4f1 and found this page after a lot of searching. But, shouldn't this have been solved versions ago?

    I see the exact same as NICOLASVIDAL
    * OnTriggerEnter2D is raised each frame (rotating or not)
    * OnTriggerExit2D is never raised

    They write it's a duplicate of http://issuetracker.unity3d.com/issues/ontriggerstay2d-is-called-not-properly, but that should be fixed after ver. 4.3.0f4. And I don't see it to be the same issue??

    What can we do to reopen this issue?

  2. 7055cc23ff9f5580260983cd66880059?d=mm

    gleondiaz

    Apr 18, 2014 15:02

    Same Problem here OnTriggerEnter2D behaves as OnTriggerStay2D

  3. 01432e14169ad86a914e021c889146db?d=mm

    rojo

    Mar 19, 2014 01:38

    Can't vote so I'll leave a comment instead - this issue is not resolved. 4.3.4f1

  4. 29f358e9d85b1c945f4d79fa3e759cb3?d=mm

    zerikscythe

    Mar 06, 2014 07:24

    This is causing some major headaches on my project aswell.

  5. Ce02f5aeaf11999a055ce0e56e5d8714?d=mm

    Angeloss

    Feb 15, 2014 01:45

    Still happening, this is not resolved.

  6. 567544776ec24f358e98b71f26a67b73?d=mm

    superluigi

    Feb 11, 2014 22:34

    Still happening in 4.3.4f1

  7. F48e88d299e83356a82f9aaa33abcd21?d=mm

    BigDandBigDandBigD

    Jan 16, 2014 18:30

    - still found in 4.3.2f1

  8. 14d2f1f0a8ec1ecddfbb3551bbc5d5b9?d=mm

    Keshav

    Dec 23, 2013 13:32

    OnTriggerEnter2D behaves as OnTriggerStay2D when the object is scaled

  9. 8a9810940c4573c53b4a1f7c2eb38d28?d=mm

    NicolasVidal

    Dec 17, 2013 11:23

    Steps to reproduce from scratch :
    - create an object with a Rigidbody2D and a Collider2D (trigger)
    - create another object with a Collider2D and a RigidBody2D (trigger)
    - set gravity scale to 0 for both of them
    - set the first one as a child of the second one
    - attach a script with debug messages in OnTriggerEnter2D and OnTriggerExit2D on the child
    - press play, make the child rotate inside the parent
    => Unexpected behaviours :
    * OnTriggerEnter2D is raised each frame we rotate the child
    * OnTriggerExit2D is never raised

    The same problem exists with OnCollision2D and non trigger colliders.

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.