Search Unity

Physics2D.IsTouching Crash

Discussion in 'Physics' started by cloudcamaleoniv, Mar 20, 2015.

  1. cloudcamaleoniv

    cloudcamaleoniv

    Joined:
    May 17, 2013
    Posts:
    57
    Don't know if this is just with me, but...

    When I use the new IsTouching method and for some reason one of the arguments (or both) are null. Unity crashes. No warning, no error, just crash. Took me a while to find out that I was destroying my collider before the check.
     
  2. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,459
    Yes, this has been fixed and will be in the 5.0.0 patch 3 which will be here.