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
- Character spacing value is not applied when using a specific font asset
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
Add comment