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
- [iOS] Application frequently crashes on Social.LoadAchievements call when many achievements are registered
- Errors “RenderPass: Attachment 0 is declared as depth attachment but RGBA8 sRGB is not a valid depth format.“ and “BeginSubPass: Not inside a Renderpass“ are present when using Native RenderPass with a RenderTexture that only has depth output
- ArgumentOutOfRangeException is thrown when an empty DropdownField is clicked at runtime
- [tvOS] "EXC_BAD_ACCESS" error is thrown when Painter2D.ClosePath is called
- Bad Naming Convention in Shortcuts Window for Sprite Shape Editing
Add comment