Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

5.0.0a10

Issue ID

611434

Regression

No

Ctrl & Left Click & Drag in Scene view causes error

Scene/Game View

-

- Create a new project.
- Add a plane to the hierarchy in the scene.
- Save the scene.
- Load the scene. (if you want to be sure, create a new scene then load the previously saved scene).
- Ctrl-Click and drag anywhere in the scene view window.

Result: InvalidCastException: Cannot cast from source type to destination type.
UnityEditor.RectSelection.UpdateSelection (UnityEngine.Object[] existingSelection, UnityEngine.Object[] newObjects, SelectionType type, Boolean isRectSelection) (at C:/buildslave/unity/build/Editor/Mono/SceneView/RectSelection.cs:208)
UnityEditor.RectSelection.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/RectSelection.cs:100)
UnityEditor.SceneView.HandleSelectionAndOnSceneGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1235)
UnityEditor.SceneView.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneView/SceneView.cs:1087)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)

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.