Search Issue Tracker

Duplicate

Votes

0

Found in

4.5.0a3

Issue ID

580864

Regression

No

Rect Transform and Box Collider2d get misplaced from each other in play mode

2D

-

To reproduce:
1. Open attached project
2. Select the sprite "terrainas" and add it to the scene
3. Attach a Rect Transform to the sprite
4. Scale it - make the whole thing smaller
5. Attach a box collider2d
6. Enter play mode, inspect that the collider is in a bad position (you might need to deselect/reselect the gameobject)

Seems to be an issue with scaled rect transforms. Reopening the project somehow solved the problem for existing sprites.

Add comment

Log in to post comment