Search Issue Tracker

Fixed in 5.6.0

Votes

1

Found in

5.1.2f1

Issue ID

715922

Regression

No

[PolygonCollider2D] Collider generated during runtime produces incorrect collision results

Physics2D

-

Steps to reproduce:

1. Open attached project
2. Open scene "RuntimeGeneratedCollider"
3. Make sure that Game window has Gizmos enabled
4. Select both of the colliders and run the scene
5. Notice that collider generated in runtime produces incorrect collision results

Note: this bug also happens if we create collider from prefab using Instantiate().

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.