Search Issue Tracker

Not Reproducible

Votes

0

Found in

2018.3.0b10

Issue ID

1099012

Regression

No

When Multiselecting in 2D mode, the rectangle looks scewed when the selection touches a rotated object first

2D

-

When Multiselecting in 2D mode, the rectangle looks scewed when the selection touches a rotated object first

To reproduce:
1. Create a new project
2. Add a game object A to it (a sprite works, so does a directional light)
3. Rotate the object A, so it's X and Y values change (setting X and Y rotation to 40)
4. Add game object B, which is a sprite (right click in hierarchy > 2d > sprite. In this case, you need to change the sprite value on its sprite renderer)
5. With RectTool drag select both of these objects. Make sure that the first object to be bound by Rect Tools selection would be the rotated game object A.

Expected result: A nice square selection
Action result: a rotated/deformed selection appears.

Note: This does not happen if you the first overlapped object has no rotation
Note: It's expected that the multiselection rectangle would not depend on which object was overlapped first
Note: Trying to use it also causes weird behavior where resizing the deformed selection causes the objects to leave it, etc.

This effect is much easier to recognize if you have a lot of objects in the scene, as the selection square just jumps around/rotates randomly, as in the attached gif.

Reproduced in: 2018.3.0b10, 2018.1.0f2, 5.6.5f1

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.