Collision2D collision.contactsでの「IndexOutOfRangeException: Array index is out of range. 」エラー対策 master 5年前 https://teratail.com/questions/150457 Unityバージョン5.5から5.6にかけて挙動が変わったらしい。 ここに記述されている方法でエラーが修正できた。