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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment