Search Issue Tracker
Fixed in 5.6.0
Votes
0
Found in
5.6.0
Issue ID
858462
Regression
Yes
[5.6] Dragging a ScriptableObject crashes the editor
In 5.6/trunk, dragging a ScriptableObject asset somewhere in the editor (over hierarchy, or over inspector etc.) crashes the editor. Looks like some new code does not handle the case of ScriptableObjects, which look a lot like MonoBehaviours, not actually being Components that are attached to game objects.
Repro steps:
1. open DragScriptableObject542.zip project (made with 5.4.2 for testing with earlier versions than 5.6)
2. drag MyScriptableObject.asset from project view over other views (e.g. hierarchy or inspector)
3. editor crashes in:
IsUserModifiable (EditorHelper.cpp:198)
MoveComponent (ComponentUtility.cpp:699)
HandleExtractComponentDragAndDrop (DragAndDropForwarding.cpp:1244)
CanHandleExtractComponentDragAndDrop (DragAndDropForwarding.cpp:1266)
DragAndDropForwarding::DispatchDragAndDrop (DragAndDropForwarding.cpp:349)
DragAndDropForwarding::CanHandleDragAndDrop (DragAndDropForwarding.cpp:364)
DragAndDropForwarding::CanHandleDragAndDrop (DragAndDropForwarding.cpp:376)
InternalEditorUtility_CUSTOM_HierarchyWindowDrag(...)
Doing the same in 5.4.2 and 5.5.0 does not crash.
Crashes in 5.6b1-ish build as of 2016 December 6 (6f87e0affcd2)
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
- System.UriFormatException is thrown when building the Localization "Preloading Screen Example" in WebGL
- Unity is loading internal version of SharpZipLib instead of local version
Add comment