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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment