Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.2.X, 2017.3.X
Votes
0
Found in
2017.1.0f3
Issue ID
950172
Regression
Yes
Crash on scripting_object_get_class when dragging empty Script component to a GameObject in Hierarchy
How to reproduce:
1. Open "ScriptCrash" project and "Repro" scene
2. Click on the "GameObject" in Hierarchy, notice that it has an empty Script component
3. Drag the component from Inspector window onto one of the GameObjects in Hierarchy
Expected result - Component does not get added, some warning in the console appears
Actual result - Crash occurs on:
========== OUTPUTING STACK TRACE ==================
0x0000000141197982 (Unity) scripting_object_get_class
0x000000014187C078 (Unity) HandleCopyMonoBehaviourToGameObjectDragAndDrop
0x000000014187C93E (Unity) DragAndDropForwarding::ForwardDragAndDrop
0x000000014149A129 (Unity) InternalEditorUtility_CUSTOM_HierarchyWindowDrag
0x000000006376297B (Mono JIT Code) (wrapper managed-to-native) UnityEditorInternal.InternalEditorUtility:HierarchyWindowDrag (UnityEditor.HierarchyProperty,bool,UnityEditorInternal.InternalEditorUtility/HierarchyDropMode)
0x0000000063760CA4 (Mono JIT Code) [C:\buildslave\unity\build\Editor\Mono\GUI\TreeView\AssetOrGameObjectTreeViewDragging.cs:149] UnityEditor.GameObjectsTreeViewDragging:DoDrag (UnityEditor.IMGUI.Controls.TreeViewItem,UnityEditor.IMGUI.Controls.TreeViewItem,bool,UnityEditor.IMGUI.Controls.TreeViewDragging/DropPosition)
Regression introduced in - 2017.1.0a5
Reproducible with - 2017.3.0a7, 2017.2.0b11, 2017.1.1p1, 2017.1.0a5
Not reproducible with - 2017.1.0a4, 2017.1.1p5, 5.6.3p3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android][Mobile Notifications] The Player freezes or crashes when calling "AndroidNotificationCenter.GetNotificationChannel" every frame
- Tile Palette selected dropdown text does not update when palette is renamed
- ArgumentException thrown and reference to Template gets unset when opening UXML file after editing referenced Template in Play mode
- [iOS][WebGL] Player freezes when multiple properties of a VisualElement are changed at the same time
- Warning 'GetControlID at event ValidateCommand returns a controlID different from the one in the Layout event' is logged when undoing the deletion of an Edited Freeform 2D Light
Add comment