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
- 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)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment