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
- Undoing the branch rotation resets only wireframe and not mesh when undoing the action first time after launching the project
- Asset Bundles retain their previous hash and CRC values when an object within a bundle is changed and rebuilt
- APV Reflection Probe Normalization breaks when SSGI is enabled
- Default Custom Components in project have Library counterparts
- [iOS]"The destination host has an erroneous SSL certificate" error is thrown when using UnityWebRequest to connect to the server with a self-signed certificate
Add comment