Search Issue Tracker

Fixed in 2018.3.X

Votes

0

Found in

2018.3.0a6

2018.3.0a7

Issue ID

1065935

Regression

Yes

Scene view picking is not working after upgrading project to 2018.3.0a6

Scene/Game View

-

Steps to repro:

1. Open attached project and 'intro_ext' scene;
2. Select blue plane gameobject in the Scene view.

Expected result:
'intro_ext_grass' plane gameobject is selected.

Actual result:
Object is not selected. Error:

`NullReferenceException: Object reference not set to an instance of an object
UnityEditor.HandleUtility.FindSelectionBase (UnityEngine.GameObject go) (at C:/buildslave/unity/build/Editor/Mono/HandleUtility.cs:596)
UnityEditor.SceneViewPicking.PickGameObject (UnityEngine.Vector2 mousePosition) (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneViewPicking.cs:50)`
is thrown. See attached video.

Regressin introduced in 2018.3.0a6.

Notes
- Reproducible in 2018.3.0a7, 2018.3.0a6;
- Not reproducible in 2018.3.0a5, 2018.2.2f1 , 2018.1.9f1;
- Reproducible on Windows 10 and OSX 10.13.6;
- Picking in the Hierarchy works as expected.

Comments (6)

  1. afftar

    Sep 22, 2020 11:37

    Repoducible in 2019.4.6f1

  2. afftar

    Oct 01, 2019 20:13

    Reproducible in 2019.2.6f1

    NullReferenceException: Object reference not set to an instance of an object
    UnityEditor.HandleUtility.FindSelectionBase (UnityEngine.GameObject go) (at C:/buildslave/unity/build/Editor/Mono/HandleUtility.cs:644)
    UnityEditor.SceneViewPicking.PickGameObject (UnityEngine.Vector2 mousePosition) (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneViewPicking.cs:50)
    UnityEditor.RectSelection.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/RectSelection.cs:138)
    UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2538)
    UnityEditor.SceneView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:2400)

  3. afftar

    Oct 01, 2019 20:13

    Not fixed
    Reproducible in 2019.2.6f1

  4. hm_assets

    Dec 28, 2018 12:58

    Yep! Repoducible in 2018.3.f02

  5. hm_assets

    Dec 28, 2018 12:58

    Yep! Repoducible in 2018.3.f02

  6. Le_Vailus

    Dec 16, 2018 15:38

    Repoducible in 2018.3.f02.

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.