Search Issue Tracker

Third Party Issue

Votes

2

Found in

2019.4

2020.3

2021.2

2021.2.2f1

2022.1

Issue ID

1381316

Regression

No

GameObject can't be selected in the Scene view when it's scale value is negative

Scene/Game View

-

Reproduction steps:
1. Open the user's attached "BugReport.zip" project
2. Open the "Test" Scene
3. Left click on the "Box_001 (Negative Scale, Can't Select)" GameObject in the Scene view

Expected result: The Object is selected
Actual result: The Object isn't selected

Reproducible with: 2019.4.31f1, 2020.3.22f1, 2021.2.2f1, 2022.1.0a13

  1. Resolution Note (2022.2.X):

    This problem is not due to Unity itself but to the shader used in that scene.
    The shader is an Amplify shader and the last pass is not set correctly.

    The culling in the last pass ("ScenePickingPass" with "LightMode"="Picking") is using "Cull Back" where it should be using "Cull Off" instead.
    By correcting that the picking is working correctly:

    Name "ScenePickingPass"
    Tags { "LightMode"="Picking" }

    Cull Off

Comments (3)

  1. wengjx-

    Oct 25, 2023 08:40

    We had the same issue for our shader in 2022.3.x

    For our shader, we are using sprite unlit. We changed material to Lit, select Render Face to Both and change material back to sprite unlit again. Save the shader and it should work again.

  2. kodra_dev

    Nov 16, 2022 13:24

    WTF? It's not a "Third-Party issue". It literally happens with a blank, newly-created Unity scene.

    One more evidence of Unity team's irresponsibility, I guess.

  3. gcmountaing

    Nov 21, 2021 15:06

    I am experiencing a similar problem in my environment(2021.2.2f1, 2021.2.3f1).

    Reproduction steps(in my environment):
    1. Edit the Tilemap
    2. the Object cannot be selected in the Scene view.

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.