Search Issue Tracker

Fixed in 5.0.1

Votes

0

Found in

5.0.0f4

Issue ID

680467

Regression

No

Collider2D.IsTouching(null) crashes Unity

Physics2D

-

Steps to reproduce:
1. Open attached project's scene "DualityStart".
2. Attach Collider2D to Foreground/EnginnerPlayer and Foreground/MagePlayer game objects.
3. Enter play mode. Unity crashes.

Crash is caused by "PlayerMove.cs" script's 35 line's if condition "pBounds.IsTouching(floorTile) == false", where floorTile is not defined

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.