Search Issue Tracker
Fixed in 2022.1.X
Fixed in 2021.2.X
Votes
2
Found in
2021.2
2021.2.0b4
2022.1
Issue ID
1351057
Regression
No
DragAndDrop.SceneDropHandler delegate is not called when dragging from EditorWindow
Reproduction steps:
1. Open the attached project "DragAndDrop.zip"
2. Open the "SampleScene" Scene
3. Open the "Test Editor Window" from the menu bar
4. Attempt to drag a prefab by dragging the "Drag Me" button onto the Scene view and observe the Console
Expected result: "SceneDropHandler" is outputted
Actual result: An error and two warnings are outputted
Reproducible with: 2021.2.0b5, 2022.1.0a4
Could not test with: 2019.4.29f1, 2020.3.15f1, 2021.1.16f1 (DragAndDrop delegates not implemented)
Note: other delegates such as HierarchyDropHandler and ProjectBrowserDropHandler work correctly on Windows. On macOS, they only work when not initiated from an EditorWindow.
Error and warnings:
1. TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 27
2. Internal: Stack allocator ALLOC_TEMP_MAIN has unfreed allocations, size 27
3. To Debug, enable the define: DEBUG_STACK_LEAK in StackAllocator.h. This will output the callstacks of the leaked allocations
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
Resolution Note (fix version 2022.1):
Fixed in: 2022.1.0a10
Resolution Note (fix version 2021.2):
Fixed in 2021.2.9f1