Search Issue Tracker

Duplicate

Votes

0

Found in

5.6.1p2

Issue ID

920117

Regression

Yes

Box Collider 2D auto tiling is not matching sprite's size when using 3-sliced sprites

Physics2D

-

To reproduce:
1. Open my attached project
2. In Hierarchy window, select TileSprite game object
3. In Inspector window, try changing size parameters of Sprite Renderer component

Expected: Box Collider 2D changes according to the size of the sprite
Actual: Box Collider 2D changes according to the size of single slice of the sprite (see picture attached, SpriteSlice.png)

Reproduced in: 5.6.1p2, 5.6.1p3, 2017.1.0b9, 2017.2.0a3
Not reproduced in: 5.6.1p1
Regression starts in: 5.6.1p2

Note: tiling is not available in earlier versions of Unity
Note: Box Collider 2D is using the bounds of only one slice of the sprite instead of all of it

Comments (2)

  1. mahdi_jeddi

    Jul 11, 2017 14:03

    Yes, I submitted the #917931 and this is not a duplicate. I actually wanted them to solve the tiling, but they just solved the glitch. I'll submit a new bug-report.

  2. Marc-Uberstein

    Jun 14, 2017 08:57

    Not really a duplicate of "issue #917931" - that ticket only refers to offset being incorrect.

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.