Search Issue Tracker

Fixed

Votes

4

Found in

4.3.0f1

Issue ID

573682

Regression

No

OnTriggerEnter2D called too many times

Physics2D

-

To reproduce:
1. Open the "Unity Projects 02: 2D Platformer v2.1" from the Asset Store
2. Open the scene called "Level"
3. Attach a script with "void OnTriggerEnter2D() { Debug.Log("enter"); }" to "hero"
4. Run the scene
5. Notice how "enter" is logged many times when player gets thrown to the river by zombies (dies)

Comments (24)

  1. haan

    Nov 07, 2014 06:16

    I am getting this issue in 4.6 beta. OnTriggerEnter2D is called 2 times. Is there any condition when this issue happens?
    @BUBURIMU what was your problem? And how did you solve that problem.

  2. druphoria

    Aug 06, 2014 04:17

    I'm also experiencing this issue. OnTriggerEnter2D is calling too many times and OnTriggerExit2D is sometimes being missed altogether.

  3. Tricephalus

    Jul 15, 2014 12:21

    I'm using 4.5.0f6 and it's still present. OnTriggerEnter2D still keeps getting called while the two triggers are in contact, and not just once when they intersect.

  4. buburimu

    Jun 26, 2014 02:14

    My code was broken: the issue seems resolved in 4.5.1f3 (Mac). Sorry for the wrong report!

  5. buburimu

    Jun 24, 2014 06:50

    Still here in 4.5.1f3 (Mac). Worked around with a flag but still... it's not fixed

  6. coshea

    May 15, 2014 15:03

    Says here fixed in future release, but no idea when :) http://issuetracker.unity3d.com/issues/ontriggerstay2d-is-called-not-properly

  7. siceblue

    May 12, 2014 03:25

    Still present in 4.3.4f1. I need this fixed

  8. IntDev

    Mar 28, 2014 17:47

    Still present in 4.3.4f1. I need this fixed. HELP.

  9. rjoly

    Feb 01, 2014 15:35

    still in 4.3.4f1.

  10. Jason Tartaglia

    Jan 27, 2014 18:27

    How do we track resolution of an issue to deployment in an update? Meaning, is there a way for me to tag this issue so that when the fix is actually deployed I will be notified? I can't think of an acceptable workaround for this issue and will be waiting on the fix.

Add comment

Log in to post comment

All about bugs

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